fix: change db healthcheck to specify db name

This commit is contained in:
2025-07-24 20:32:44 +00:00
parent 7f91df5ae5
commit 929ed9db9b

View File

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