docker-compose.yml: pass user and database name when calling pg_isready (#46)
This commit is contained in:
parent
3035e5982d
commit
86e54339de
|
@ -122,7 +122,7 @@ services:
|
|||
ports: []
|
||||
# - 127.0.0.1:5432:5432
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -d db_prod"]
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres -d postgres"]
|
||||
interval: 30s
|
||||
timeout: 60s
|
||||
retries: 5
|
||||
|
|
Loading…
Reference in New Issue