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