diff --git a/compose.yml b/compose.yml index f7df7524..16c9a505 100644 --- a/compose.yml +++ b/compose.yml @@ -10,7 +10,7 @@ services: volumes: - postgres_data:/var/lib/postgresql/data ports: - - "${POSTGRES_PORT:-5432}:5432" + - "127.0.0.1:${POSTGRES_PORT:-5432}:5432" healthcheck: test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"] interval: 5s @@ -20,7 +20,7 @@ services: redis: image: redis:7-alpine ports: - - "${REDIS_PORT:-6379}:6379" + - "127.0.0.1:${REDIS_PORT:-6379}:6379" healthcheck: test: ["CMD", "redis-cli", "ping"] interval: 5s