fix pg healthcheck

This commit is contained in:
2025-05-05 14:53:37 +03:00
parent 120c6e9a7a
commit 056acd7455

View File

@@ -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