Fix cloud port

This commit is contained in:
soraefir
2026-05-11 20:35:14 +02:00
parent df236d4ec7
commit bc765ea0c6

View File

@@ -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"