diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index bb39c91..7d280f5 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -12,7 +12,7 @@ services: networks: - default 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 timeout: 5s retries: 10