Update modules/server/containers/apps/traefik.nix

This commit is contained in:
2026-06-03 17:18:52 +02:00
parent 9e4d8274b5
commit 6be107374e

View File

@@ -13,7 +13,7 @@ let
in {
sops = true;
paths = [{
path="${serverCfg.configPath}/traefik";
path="${serverCfg.path.config}/traefik";
owner = "1000:1000";
mode = "0755";
}];
@@ -77,8 +77,8 @@ in {
ports = [ "443:443" "80:80" ] ++ (if containerCfg.port!=null then [ "${toString containerCfg.port}:8080" ] else []);
volumes = [
"/var/run/podman/podman.sock:/var/run/docker.sock"
# "${serverCfg.configPath}/traefik/access.log:/etc/traefik/access.log"
"${serverCfg.configPath}/traefik:/custom"
# "${serverCfg.path.config}/traefik/access.log:/etc/traefik/access.log"
"${serverCfg.path.config}/traefik:/custom"
];
};
};