From d3f9019ff0696497e397b2357301b183d30704aa Mon Sep 17 00:00:00 2001 From: niten Date: Mon, 29 Jan 2024 11:49:49 -0800 Subject: [PATCH] Fuckin lost the db on reboot, can you believe it? --- mastodon-container.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastodon-container.nix b/mastodon-container.nix index 5805879..8bdbc65 100644 --- a/mastodon-container.nix +++ b/mastodon-container.nix @@ -98,7 +98,7 @@ in { service = { restart = "always"; volumes = [ - "postgres-data:/var/lib/postgres/data" + "postgres-data:/var/lib/postgresql" "redis-data:/var/lib/redis" "mastodon-data:/var/lib/mastodon" ] ++ (map (env-file: "${env-file}:${env-file}:ro,Z")