Fixed postgres healthchecks
This commit is contained in:
parent
9f5257bf8a
commit
31193a9f66
2 changed files with 2 additions and 2 deletions
|
|
@ -42,7 +42,7 @@ services:
|
|||
healthcheck:
|
||||
test:
|
||||
- CMD-SHELL
|
||||
- "pg_isready -h localhost -U ${POSTGRES_USER} -d ${POSTGRES_DB}"
|
||||
- "pg_isready -h localhost -U $${POSTGRES_USER} -d $${POSTGRES_DB}"
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
|
|
|
|||
|
|
@ -158,7 +158,7 @@ services:
|
|||
healthcheck:
|
||||
test:
|
||||
- CMD-SHELL
|
||||
- "pg_isready -h localhost -U ${POSTGRES_USER} -d ${POSTGRES_DB}"
|
||||
- "pg_isready -h localhost -U $${POSTGRES_USER} -d $${POSTGRES_DB}"
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
|
|
|
|||
Loading…
Reference in a new issue