Update modules/server/containers/apps/calibre.nix

This commit is contained in:
2026-06-03 17:15:00 +02:00
parent 7b8eeb917f
commit 8f87c11cb5

View File

@@ -5,13 +5,7 @@ let
in { in {
sops = false; sops = false;
db = false; db = false;
paths = [
{
path = "${serverCfg.configPath}/calibre-web/";
mode = "0755";
dirs = ["library" "ingest"];
}
];
containers = { containers = {
server = builder.mkContainer { server = builder.mkContainer {
@@ -35,10 +29,9 @@ in {
"traefik.http.routers.${containerCfg.subdomain}-login.tls" = "true"; "traefik.http.routers.${containerCfg.subdomain}-login.tls" = "true";
}; };
overrides = { overrides = {
cmd = [ ];
volumes = [ volumes = [
"${serverCfg.configPath}/calibre-web/library/:/calibre-library" "${serverCfg.path.book}:/calibre-library"
"${serverCfg.configPath}/calibre-web/ingest/:/cwa-book-ingest" "${serverCfg.path.dlBook}:/cwa-book-ingest"
]; ];
}; };
}; };