diff --git a/mastodon-container.nix b/mastodon-container.nix index 0d6ba01..7d07a73 100644 --- a/mastodon-container.nix +++ b/mastodon-container.nix @@ -283,7 +283,7 @@ in { restart = "always"; volumes = [ "${cfg.state-directory}/postgres:/var/lib/postgresql/data" ]; - healthcheck.test = [ "CMD" "pg_isready" "-U" "postgres" ]; + healthcheck.test = [ "CMD" "pg_isready" "-U" "mastodon" ]; # environment.POSTGRES_HOST_AUTH_METHOD = "trust"; user = mkUserMap cfg.uids.postgres; env_file = [