fix: update healthcheck command for PostgreSQL service to use localhost
Some checks failed
Build And Publish Production Image / Build And Publish Production Image (push) Failing after 13s

This commit is contained in:
2026-03-28 14:18:49 -03:00
parent 5499a8a585
commit b7274c4b6d

View File

@@ -12,7 +12,7 @@ services:
networks: networks:
- default - default
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${SPRING_DATASOURCE_USERNAME} -d ${APP_DB_NAME:-condado}"] test: ["CMD-SHELL", "pg_isready -h localhost -U $${POSTGRES_USER:-postgres}"]
interval: 10s interval: 10s
timeout: 5s timeout: 5s
retries: 10 retries: 10