fix pg healthcheck
This commit is contained in:
@@ -10,7 +10,7 @@ services:
|
|||||||
container_name: postgres_db
|
container_name: postgres_db
|
||||||
restart: always
|
restart: always
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ "CMD-SHELL", "pg_isready", "-d", "db_prod" ]
|
test: [ "CMD-SHELL", "pg_isready", "-d", "${POSTGRES_DB}" ]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 60s
|
timeout: 60s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|||||||
Reference in New Issue
Block a user