From ea41336f6668819874853ca9074de5b62fdc8134 Mon Sep 17 00:00:00 2001 From: hyeesw Date: Sun, 15 Sep 2024 11:10:22 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20docker=20Unable=20to=20connect=20to=20R?= =?UTF-8?q?edis=20=EC=97=90=EB=9F=AC=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index 91748f8..ab7c6c3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -39,6 +39,7 @@ services: redis-service: container_name: redis-container + host : redis-container # docker 에서 이 이름으로 reids 와 연결 image: redis:latest healthcheck: test: [ "CMD", "redis-cli", "ping" ]