diff --git a/modules/server/containers/apps/nextcloud.nix b/modules/server/containers/apps/nextcloud.nix index 25a4d14..db6b98b 100644 --- a/modules/server/containers/apps/nextcloud.nix +++ b/modules/server/containers/apps/nextcloud.nix @@ -18,7 +18,7 @@ in { server = builder.mkContainer { subdomain = containerCfg.subdomain; image = "nextcloud:${version}"; - port = 8080; + port = 80; ip = containerCfg.ip; secret = name; extraEnv = { @@ -47,7 +47,7 @@ in { "--tmpfs=/tmp:rw,noexec,nosuid,size=512m" ]; overrides = { - ports = if containerCfg.port!=null then [ "${toString containerCfg.port}:8080" ] else []; + ports = if containerCfg.port!=null then [ "${toString containerCfg.port}:80" ] else []; volumes = [ "${serverCfg.dataPath}/nextcloud/www:/var/www/html" "${serverCfg.dataPath}/nextcloud/data:/var/www/html/data"