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
Some checks failed
Build And Publish Production Image / Build And Publish Production Image (push) Failing after 13s
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user