dockge + upgrade
This commit is contained in:
1 parent
c6548fb88c
commit
382628f233
5 files changed
+14
-8
No files matched your search
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user