Fix wrong psql healthcheck user
This commit is contained in:
parent
d71885d264
commit
2892923389
|
@ -9,7 +9,7 @@ services:
|
|||
- POSTGRES_DB=postgres
|
||||
healthcheck:
|
||||
#CHANGE 1: this command checks if the database is ready, right on the source db server
|
||||
test: [ "CMD-SHELL", "pg_isready" ]
|
||||
test: ["CMD-SHELL", "pg_isready -d postgres -U postgres"]
|
||||
interval: 1s
|
||||
timeout: 1s
|
||||
retries: 5
|
||||
|
|
Loading…
Reference in New Issue