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