fix: use POSTGRES_USER env var in healthcheck

This commit is contained in:
Dorian
2026-03-17 00:24:29 +00:00
parent 8d56fe392d
commit e1f7394a6d

View File

@@ -121,7 +121,7 @@ services:
networks: networks:
- indeedhub-network - indeedhub-network
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready -U indeedhub"] test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER}"]
interval: 10s interval: 10s
timeout: 5s timeout: 5s
retries: 5 retries: 5