From f56b52dce6487e329f993851bbf361c4b312dfff Mon Sep 17 00:00:00 2001 From: Kozin Date: Fri, 24 Nov 2023 21:38:18 +0300 Subject: [PATCH] Fixed redis ports --- infra_bt/docker-compose.production.yml | 4 ++-- infra_bt/docker-compose.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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"]