fix cloud
This commit is contained in:
@@ -42,13 +42,15 @@ in {
|
|||||||
"traefik.http.middlewares.sts_headers.headers.stsSeconds" = "15552000";
|
"traefik.http.middlewares.sts_headers.headers.stsSeconds" = "15552000";
|
||||||
"traefik.http.middlewares.sts_headers.headers.stsIncludeSubdomains" = "true";
|
"traefik.http.middlewares.sts_headers.headers.stsIncludeSubdomains" = "true";
|
||||||
};
|
};
|
||||||
|
extraOptions = [
|
||||||
|
"--tmpfs /tmp:rw,mode=1777"
|
||||||
|
];
|
||||||
overrides = {
|
overrides = {
|
||||||
ports = if containerCfg.pubPort != 0 && containerCfg.port != 0 then [ "${toString containerCfg.pubPort}:${toString containerCfg.port}" ] else [];
|
ports = if containerCfg.pubPort != 0 && containerCfg.port != 0 then [ "${toString containerCfg.pubPort}:${toString containerCfg.port}" ] else [];
|
||||||
volumes = [
|
volumes = [
|
||||||
"${serverCfg.dataPath}/nextcloud/www:/var/www/html"
|
"${serverCfg.dataPath}/nextcloud/www:/var/www/html"
|
||||||
"${serverCfg.dataPath}/nextcloud/data:/var/www/html/data"
|
"${serverCfg.dataPath}/nextcloud/data:/var/www/html/data"
|
||||||
];
|
];
|
||||||
tmpfs = [ "/tmp" ];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user