fix(compose): fix db container healthcheck
This commit is contained in:
@@ -30,7 +30,7 @@ services:
|
||||
volumes:
|
||||
- pgdata:/home/arthur/sources/node/pathtoglory/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready"]
|
||||
test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
|
||||
interval: 1s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
|
||||
Reference in New Issue
Block a user