Update modules/server/containers/apps/authentik.nix
This commit is contained in:
@@ -19,12 +19,9 @@ in {
|
||||
sops = true;
|
||||
db = true;
|
||||
paths = [{
|
||||
path="${serverCfg.configPath}/authentik/media";
|
||||
owner = "1000:1000";
|
||||
mode = "0755";
|
||||
}{
|
||||
path="${serverCfg.configPath}/authentik/templates";
|
||||
path="${serverCfg.path.config}/authentik";
|
||||
owner = "1000:1000";
|
||||
dirs = ["media" "templates"];
|
||||
mode = "0755";
|
||||
}];
|
||||
|
||||
@@ -55,8 +52,8 @@ in {
|
||||
|
||||
cmd = [ "server" ];
|
||||
volumes = [
|
||||
"${serverCfg.configPath}/authentik/media:/media"
|
||||
"${serverCfg.configPath}/authentik/templates:/templates"
|
||||
"${serverCfg.path.config}/authentik/media:/media"
|
||||
"${serverCfg.path.config}/authentik/templates:/templates"
|
||||
"${authentikData}:/blueprints/custom:ro"
|
||||
];
|
||||
};
|
||||
@@ -77,8 +74,8 @@ in {
|
||||
overrides = {
|
||||
cmd = [ "worker" ];
|
||||
volumes = [
|
||||
"${serverCfg.configPath}/authentik/media:/media"
|
||||
"${serverCfg.configPath}/authentik/templates:/templates"
|
||||
"${serverCfg.path.config}/authentik/media:/media"
|
||||
"${serverCfg.path.config}/authentik/templates:/templates"
|
||||
"${authentikData}:/blueprints/custom:ro"
|
||||
];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user