Save `/var/lib/private` too
This commit is contained in:
parent
831b1f88ad
commit
07a573284f
|
@ -10,8 +10,9 @@ let
|
|||
networks = { external_network.internal = false; };
|
||||
|
||||
docker-compose.volumes = {
|
||||
postgres-data = { };
|
||||
pictrs-data = { };
|
||||
postgres-data = { };
|
||||
private-data = { };
|
||||
};
|
||||
|
||||
services = {
|
||||
|
@ -21,10 +22,12 @@ let
|
|||
volumes = [
|
||||
"postgres-data:/var/lib/postgres/data"
|
||||
"pictrs-data:/var/lib/pict-rs"
|
||||
"private-data:/var/lib/private"
|
||||
"${cfg.admin-password-file}:${cfg.admin-password-file}"
|
||||
];
|
||||
ports = [ "${toString cfg.port}:80" ];
|
||||
networks = [ "external_network" ];
|
||||
capabilities.SYS_ADMIN = true;
|
||||
};
|
||||
nixos = {
|
||||
useSystemd = true;
|
||||
|
|
Loading…
Reference in New Issue