From d179f52144409e2efb416ce65db95a5f0b581574 Mon Sep 17 00:00:00 2001 From: niten Date: Tue, 29 Aug 2023 10:25:26 -0700 Subject: [PATCH] Use correct user for postgres check --- authentik-container.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik-container.nix b/authentik-container.nix index 64e7d7d..63f75a8 100644 --- a/authentik-container.nix +++ b/authentik-container.nix @@ -131,7 +131,7 @@ in { volumes = [ "${cfg.state-directory}/postgres:/var/lib/postgresql/data" ]; healthcheck = { - test = [ "CMD" "pg_isready" "-U" "postgres" ]; + test = [ "CMD" "pg_isready" "-U" "authentik" "-d" "authentik" ]; start_period = "20s"; interval = "30s"; retries = 5;