Update modules/server/containers/apps/traefik.nix
This commit is contained in:
@@ -13,7 +13,7 @@ let
|
|||||||
in {
|
in {
|
||||||
sops = true;
|
sops = true;
|
||||||
paths = [{
|
paths = [{
|
||||||
path="${serverCfg.configPath}/traefik";
|
path="${serverCfg.path.config}/traefik";
|
||||||
owner = "1000:1000";
|
owner = "1000:1000";
|
||||||
mode = "0755";
|
mode = "0755";
|
||||||
}];
|
}];
|
||||||
@@ -77,8 +77,8 @@ in {
|
|||||||
ports = [ "443:443" "80:80" ] ++ (if containerCfg.port!=null then [ "${toString containerCfg.port}:8080" ] else []);
|
ports = [ "443:443" "80:80" ] ++ (if containerCfg.port!=null then [ "${toString containerCfg.port}:8080" ] else []);
|
||||||
volumes = [
|
volumes = [
|
||||||
"/var/run/podman/podman.sock:/var/run/docker.sock"
|
"/var/run/podman/podman.sock:/var/run/docker.sock"
|
||||||
# "${serverCfg.configPath}/traefik/access.log:/etc/traefik/access.log"
|
# "${serverCfg.path.config}/traefik/access.log:/etc/traefik/access.log"
|
||||||
"${serverCfg.configPath}/traefik:/custom"
|
"${serverCfg.path.config}/traefik:/custom"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user