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" ]