fix(compose): fix db container healthcheck

This commit is contained in:
2026-03-12 22:25:19 +01:00
parent 83cad4b0ae
commit c1c0b4e723

View File

@@ -30,7 +30,7 @@ services:
volumes:
- pgdata:/home/arthur/sources/node/pathtoglory/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready"]
test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
interval: 1s
timeout: 5s
retries: 10