diff --git a/docker-compose.yml b/docker-compose.yml index 190320c5..60a5d1fb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,7 +24,7 @@ services: - POSTGRES_PASSWORD=learnhouse - POSTGRES_DB=learnhouse healthcheck: - test: ["CMD-SHELL", "pg_isready"] + test: ["CMD-SHELL", "pg_isready -U learnhouse"] interval: 5s timeout: 4s retries: 5 @@ -34,7 +34,7 @@ services: ports: - "6379:6379" healthcheck: - test: [ "CMD", "redis-cli", "ping" ] + test: ["CMD", "redis-cli", "ping"] interval: 5s timeout: 4s retries: 5 @@ -45,4 +45,4 @@ services: - "27017:27017" environment: - MONGO_INITDB_ROOT_USERNAME=learnhouse - - MONGO_INITDB_ROOT_PASSWORD=learnhous \ No newline at end of file + - MONGO_INITDB_ROOT_PASSWORD=learnhous