fix: change db healthcheck to specify db name

This commit is contained in:
2025-07-24 20:32:44 +00:00
parent a6218997e7
commit 5927df8a9a

View File

@@ -63,7 +63,7 @@ compose_yml = f"""services:
volumes: volumes:
- postgres_data:/var/lib/postgresql/data - postgres_data:/var/lib/postgresql/data
healthcheck: healthcheck:
test: ["CMD", "pg_isready", "-U", "{db_user}"] test: ["CMD", "pg_isready", "-U", {db_user}, "-d", {db_name}]
interval: 5s interval: 5s
timeout: 5s timeout: 5s
retries: 5 retries: 5