fix: docker healtcheck (#3176)

This commit is contained in:
Catalin Pit
2026-08-14 13:02:48 +03:00
committed by GitHub
parent a5e37af3e8
commit 688ef2fdf3
4 changed files with 4 additions and 4 deletions
@@ -81,7 +81,7 @@ services:
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:?err}
- POSTGRES_DB=${POSTGRES_DB:?err}
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U ${POSTGRES_USER}']
test: ['CMD-SHELL', 'pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}']
interval: 10s
timeout: 5s
retries: 5