diff --git a/docker-compose.yml b/docker-compose.yml index 6d35ddc6a..cd2229469 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,7 +6,7 @@ services: image: postgres:12-alpine restart: unless-stopped healthcheck: - test: ["CMD", "pg_isready"] + test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"] start_period: 20s interval: 30s retries: 5