diff --git a/docker-compose.yaml b/docker-compose.yaml index 2395a962..53c99480 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -13,7 +13,7 @@ services: networks: - openid_network healthcheck: - test: [ "CMD-SHELL", "pg_isready -U ${DATASOURCE_DB}" ] + test: ["CMD-SHELL", "pg_isready -d ${DATASOURCE_DB} -U ${DATASOURCE_USER}"] interval: 3s timeout: 5s retries: 20 @@ -60,4 +60,4 @@ networks: driver: bridge volumes: - postgres_data: \ No newline at end of file + postgres_data: