fix tmpfs
This commit is contained in:
@@ -44,7 +44,7 @@ in {
|
|||||||
"traefik.http.middlewares.sts_headers.headers.stsIncludeSubdomains" = "true";
|
"traefik.http.middlewares.sts_headers.headers.stsIncludeSubdomains" = "true";
|
||||||
};
|
};
|
||||||
extraOptions = [
|
extraOptions = [
|
||||||
"--tmpfs /tmp:rw,mode=1777"
|
"--tmpfs=/tmp:rw,noexec,nosuid,size=64m"
|
||||||
];
|
];
|
||||||
overrides = {
|
overrides = {
|
||||||
ports = if containerCfg.pubPort!=null && containerCfg.port!=null then [ "${toString containerCfg.pubPort}:${toString containerCfg.port}" ] else [];
|
ports = if containerCfg.pubPort!=null && containerCfg.port!=null then [ "${toString containerCfg.pubPort}:${toString containerCfg.port}" ] else [];
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ in {
|
|||||||
server = builder.mkContainer {
|
server = builder.mkContainer {
|
||||||
subdomain = containerCfg.subdomain;
|
subdomain = containerCfg.subdomain;
|
||||||
image = "traefik:${version}";
|
image = "traefik:${version}";
|
||||||
port = containerCfg.port;
|
|
||||||
ip = containerCfg.ip;
|
ip = containerCfg.ip;
|
||||||
secret = name;
|
secret = name;
|
||||||
extraEnv = {
|
extraEnv = {
|
||||||
|
|||||||
Reference in New Issue
Block a user