mirror of
https://github.com/waku-org/nwaku-compose.git
synced 2025-01-09 23:26:10 +00:00
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: []
|
ports: []
|
||||||
# - 127.0.0.1:5432:5432
|
# - 127.0.0.1:5432:5432
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -d db_prod"]
|
test: ["CMD-SHELL", "pg_isready -U postgres -d postgres"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 60s
|
timeout: 60s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
Loading…
x
Reference in New Issue
Block a user