Update modules/server/containers/apps/selfmark.nix
This commit is contained in:
@@ -7,10 +7,8 @@ let
|
|||||||
then "${containerCfg.subdomain}-${lib.strings.sanitizeDerivationName containerCfg.subpath}"
|
then "${containerCfg.subdomain}-${lib.strings.sanitizeDerivationName containerCfg.subpath}"
|
||||||
else containerCfg.subdomain;
|
else containerCfg.subdomain;
|
||||||
in {
|
in {
|
||||||
sops = false;
|
|
||||||
db = false;
|
|
||||||
paths = [{
|
paths = [{
|
||||||
path = "${serverCfg.configPath}/selfmark/";
|
path = "${serverCfg.path.config}/selfmark/";
|
||||||
mode = "0444";
|
mode = "0444";
|
||||||
}];
|
}];
|
||||||
|
|
||||||
@@ -87,7 +85,11 @@ in {
|
|||||||
"traefik.http.routers.${routerName}.middlewares" = "authentik";
|
"traefik.http.routers.${routerName}.middlewares" = "authentik";
|
||||||
} else {});
|
} else {});
|
||||||
overrides = {
|
overrides = {
|
||||||
volumes = [ ];
|
volumes = [
|
||||||
|
"${serverCfg.path.dlComplete}:/books:rw"
|
||||||
|
"${serverCfg.path.books}:/output:rw"
|
||||||
|
"${serverCfg.path.config}/selfmark:/config:rw"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user