Use correct user for postgres check

This commit is contained in:
niten 2023-08-29 10:25:26 -07:00
parent d7a081aafe
commit d179f52144
1 changed files with 1 additions and 1 deletions

View File

@ -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;