diff --git a/docker-compose.yml b/docker-compose.yml index a3f241e..7617195 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,7 +24,7 @@ services: ports: - "127.0.0.1:${POSTGRES_PORT}:5432" healthcheck: - test: ["CMD", "pg_isready"] + test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"] interval: 10s timeout: 5s retries: 10