From 1ddd3fd102d7eb061281fd0a92ac82940d6f9ac1 Mon Sep 17 00:00:00 2001 From: chaerin <100216331+julia-heo@users.noreply.github.com> Date: Wed, 29 May 2024 15:43:10 +0900 Subject: [PATCH] =?UTF-8?q?test:=20redis=20=EB=8D=B0=EC=9D=B4=ED=84=B0=20?= =?UTF-8?q?=EB=B3=B4=EC=A1=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 5910b71..3ba8e5b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,7 +6,9 @@ services: container_name: redis ports: - 6379:6379 - restart: always + volumes: + - redis-data:/data + restart: unless-stopped web: container_name: web @@ -24,4 +26,4 @@ services: options: mode: non-blocking stdin_open: true - tty: true \ No newline at end of file + tty: true