Update healthcheck command in docker-compose.yml to use specific PostgreSQL user and database

This commit is contained in:
Luke Hagar
2025-08-14 11:49:52 -05:00
parent afcb351a15
commit 69e40dabca

View File

@@ -10,7 +10,7 @@ services:
ports: ports:
- "5432:5432" - "5432:5432"
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready -U $POSTGRES_USER -d $POSTGRES_DB"] test: ["CMD-SHELL", "pg_isready -U pypistats -d pypistats"]
interval: 5s interval: 5s
timeout: 5s timeout: 5s
retries: 20 retries: 20