From 94f26b22ea4f29d5c059de4a98b4ce71c2f145d6 Mon Sep 17 00:00:00 2001 From: YongHwan Kim Date: Wed, 29 Nov 2023 14:15:22 +0900 Subject: [PATCH] =?UTF-8?q?#38=20docs:=20docker-compose=20redis=20?= =?UTF-8?q?=EC=84=A4=EC=A0=95=20=ED=8C=8C=EC=9D=BC=20=EC=B6=94=EA=B0=80=20?= =?UTF-8?q?(#39)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose-analyze.yml | 3 +++ docker-compose-dev.yml | 3 +++ docker-compose.yml | 3 +++ redis.conf | 1 + 4 files changed, 10 insertions(+) create mode 100644 redis.conf diff --git a/docker-compose-analyze.yml b/docker-compose-analyze.yml index 678264b07..75a9465f6 100644 --- a/docker-compose-analyze.yml +++ b/docker-compose-analyze.yml @@ -33,6 +33,9 @@ services: redis: container_name: fineAnts_redis image: redis:latest + volumes: + - ./redis.conf:/usr/local/etc/redis/redis.conf + command: redis-server /usr/local/etc/redis/redis.conf ports: - "6379:6379" networks: diff --git a/docker-compose-dev.yml b/docker-compose-dev.yml index 12f3800fe..87268e76b 100644 --- a/docker-compose-dev.yml +++ b/docker-compose-dev.yml @@ -18,6 +18,9 @@ services: redis: container_name: fineAnts_redis image: redis:latest + volumes: + - ./redis.conf:/usr/local/etc/redis/redis.conf + command: redis-server /usr/local/etc/redis/redis.conf ports: - "6379:6379" networks: diff --git a/docker-compose.yml b/docker-compose.yml index d265df902..04a5c7bc3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -17,6 +17,9 @@ services: redis: container_name: fineAnts_redis image: redis:latest + volumes: + - ./redis.conf:/usr/local/etc/redis/redis.conf + command: redis-server /usr/local/etc/redis/redis.conf ports: - "6379:6379" networks: diff --git a/redis.conf b/redis.conf new file mode 100644 index 000000000..fa01de100 --- /dev/null +++ b/redis.conf @@ -0,0 +1 @@ +stop-writes-on-bgsave-error no