diff --git a/infra_bt/docker-compose.production.yml b/infra_bt/docker-compose.production.yml index 4712646..88dc2ba 100644 --- a/infra_bt/docker-compose.production.yml +++ b/infra_bt/docker-compose.production.yml @@ -26,8 +26,8 @@ services: redis: image: redis:alpine3.18 hostname: redis - ports: - - "6379:6379" + expose: + - 6379 restart: unless-stopped healthcheck: test: ["CMD", "redis-cli", "ping"] diff --git a/infra_bt/docker-compose.yml b/infra_bt/docker-compose.yml index 1fdcc8a..ec7d95a 100644 --- a/infra_bt/docker-compose.yml +++ b/infra_bt/docker-compose.yml @@ -79,8 +79,8 @@ services: redis: image: redis:alpine3.18 hostname: redis - ports: - - "6379:6379" + expose: + - 6379 restart: unless-stopped healthcheck: test: ["CMD", "redis-cli", "ping"]