improve traefik

This commit is contained in:
soraefir
2026-06-07 18:35:26 +02:00
parent 59cf3a8507
commit 38cea9e932

View File

@@ -14,11 +14,6 @@ in {
requires.secrets = [ name ];
runtime = {
paths = [{
path="${serverCfg.path.config.path}/traefik";
owner = "1000:1000";
mode = "0755";
}];
containers = {
server = builder.mkContainer {
@@ -85,8 +80,6 @@ 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.path.config.path}/traefik/access.log:/etc/traefik/access.log"
"${serverCfg.path.config.path}/traefik:/custom"
];
};
};