fix: update healthcheck command for PostgreSQL service in Docker Compose
All checks were successful
Build And Publish Production Image / Build And Publish Production Image (push) Successful in 31s

This commit is contained in:
2026-03-28 13:46:34 -03:00
parent 942da74778
commit 621bb1773c

View File

@@ -10,10 +10,11 @@ services:
volumes:
- postgres-data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${SPRING_DATASOURCE_USERNAME} -d ${APP_DB_NAME:-condado}"]
test: ["CMD-SHELL", "pg_isready -h 127.0.0.1 -p 5432 -U postgres"]
interval: 10s
timeout: 5s
retries: 10
start_period: 10s
condado-newsletter:
image: sancho41/condado-newsletter:latest