fix statfs

This commit is contained in:
soraefir
2026-05-08 23:10:52 +02:00
parent bfd099d201
commit 097334b483
2 changed files with 16 additions and 16 deletions

View File

@@ -3,15 +3,15 @@ let
version = "3";
serverCfg = config.syscfg.server;
in {
paths = [{
path="${serverCfg.dataPath}/authentik/media";
owner = "1000:1000";
mode = "0755";
}{
path="${serverCfg.dataPath}/authentik/templates";
owner = "1000:1000";
mode = "0755";
}];
# paths = [{
# path="${serverCfg.dataPath}/authentik/media";
# owner = "1000:1000";
# mode = "0755";
# }{
# path="${serverCfg.dataPath}/authentik/templates";
# owner = "1000:1000";
# mode = "0755";
# }];
containers = {
server = builder.mkContainer {
@@ -45,9 +45,9 @@ in {
ports = [ "443" "80" ];
volumes = [
"/var/run/docker.sock:/var/run/docker.sock:ro"
"${serverCfg.configPath}/traefik/traefik.yaml:/etc/traefik/traefik.yaml"
"${serverCfg.configPath}/traefik/access.log:/etc/traefik/access.log"
"${serverCfg.configPath}/traefik/acme.json:/acme.json"
# "${serverCfg.configPath}/traefik/traefik.yaml:/etc/traefik/traefik.yaml"
# "${serverCfg.configPath}/traefik/access.log:/etc/traefik/access.log"
# "${serverCfg.configPath}/traefik/acme.json:/acme.json"
];
};
};