fix(service): update Fider service template healthcheck command

This commit is contained in:
Andras Bacsai
2025-02-18 15:19:14 +01:00
parent f02db2a3c5
commit aacfbe453b
2 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ services:
- POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES
- POSTGRES_DB=${POSTGRES_DB:-fider}
healthcheck:
test: ["CMD", "pg_isready", "-U", "$SERVICE_USER_POSTGRES"]
test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
interval: 5s
timeout: 20s
retries: 10