fix: use POSTGRES_USER env var in healthcheck
This commit is contained in:
@@ -121,7 +121,7 @@ services:
|
||||
networks:
|
||||
- indeedhub-network
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U indeedhub"]
|
||||
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER}"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
Reference in New Issue
Block a user