fix: Simplify healthcheck command in compose.yml by removing database flag

This commit is contained in:
2026-03-07 05:28:50 +07:00
parent 59fb858f54
commit 0db8d9a39b

View File

@@ -13,7 +13,7 @@ services:
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-postgres} -d ${POSTGRES_DB:-postgres}"]
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-postgres}"]
interval: 10s
timeout: 5s
retries: 5