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