Use correct user for postgres check
This commit is contained in:
parent
d7a081aafe
commit
d179f52144
|
@ -131,7 +131,7 @@ in {
|
||||||
volumes =
|
volumes =
|
||||||
[ "${cfg.state-directory}/postgres:/var/lib/postgresql/data" ];
|
[ "${cfg.state-directory}/postgres:/var/lib/postgresql/data" ];
|
||||||
healthcheck = {
|
healthcheck = {
|
||||||
test = [ "CMD" "pg_isready" "-U" "postgres" ];
|
test = [ "CMD" "pg_isready" "-U" "authentik" "-d" "authentik" ];
|
||||||
start_period = "20s";
|
start_period = "20s";
|
||||||
interval = "30s";
|
interval = "30s";
|
||||||
retries = 5;
|
retries = 5;
|
||||||
|
|
Loading…
Reference in New Issue