dockge + upgrade

This commit is contained in:
ari committed 2024-11-11 09:52:34 -05:00
1 parent c6548fb88c
commit 382628f233
5 files changed
+14 -8

No files matched your search

+5 -2
View File
@@ -36,14 +36,17 @@ in
config = lib.mkIf cfg.enable {
networking.firewall =
lib.mkIf cfg.openFirewall { allowedTCPPorts = [ cfg.port ]; };
lib.mkIf cfg.openFirewall {
allowedTCPPorts = [ cfg.port ];
allowedUDPPorts = [ cfg.port ];
};
virtualisation.oci-containers = {
containers = {
dockge = {
autoStart = true;
image = "louislam/dockge:1";
ports = [
"${cfg.port}:5001"
"${toString cfg.port}:5001"
];
volumes = [
"/var/run/docker.sock:/var/run/docker.sock"