/run is readonly, try removing ephemeral

This commit is contained in:
niten 2024-01-25 09:29:05 -08:00
parent f01958e683
commit 5aa22d2a8f
1 changed files with 2 additions and 1 deletions

View File

@ -67,7 +67,8 @@ in {
hostPort = cfg.port; hostPort = cfg.port;
containerPort = 80; containerPort = 80;
}]; }];
ephemeral = true; ## Does ephemeral mean read-only?
# ephemeral = true;
bindMounts = { bindMounts = {
"/var/lib/postgres/data" = { "/var/lib/postgres/data" = {
hostPath = "${cfg.state-directory}/postgres"; hostPath = "${cfg.state-directory}/postgres";