Update modules/server/containers/apps/traefik.nix
This commit is contained in:
@@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user