From f0c99f907d23168f05aed728a5b1822f0ee7e317 Mon Sep 17 00:00:00 2001 From: dhyeonkim Date: Thu, 29 Aug 2024 14:15:02 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B8=B0=EB=B3=B8=EC=9D=B4=20=EC=A4=91?= =?UTF-8?q?=EC=9A=94=ED=95=98=EB=8B=A4=20[Kafka=20CDC]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _posts/2024-08-29-RedisCluster.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/_posts/2024-08-29-RedisCluster.md b/_posts/2024-08-29-RedisCluster.md index 944aefd..306d91e 100644 --- a/_posts/2024-08-29-RedisCluster.md +++ b/_posts/2024-08-29-RedisCluster.md @@ -17,7 +17,7 @@ mermaid: true services: redis-master-1: container_name: redis-master-1 - image: dev-mis-registry.smiledev.net/library/redis:7.2 + image: redis:7.2 command: ["redis-server", "--port", "6379", "--cluster-enabled", "yes", "--cluster-config-file", "nodes.conf", "--cluster-node-timeout", "5000", "--appendonly", "yes"] restart: always ports: @@ -31,41 +31,41 @@ services: redis-master-2: network_mode: "service:redis-master-1" container_name: redis-master-2 - image: dev-mis-registry.smiledev.net/library/redis:7.2 + image: redis:latest command: ["redis-server", "--port", "6479", "--cluster-enabled", "yes", "--cluster-config-file", "nodes.conf", "--cluster-node-timeout", "5000", "--appendonly", "yes"] restart: always redis-master-3: network_mode: "service:redis-master-1" container_name: redis-master-3 - image: dev-mis-registry.smiledev.net/library/redis:7.2 + image: redis:latest command: ["redis-server", "--port", "6579", "--cluster-enabled", "yes", "--cluster-config-file", "nodes.conf", "--cluster-node-timeout", "5000", "--appendonly", "yes"] restart: always redis-slave-1: network_mode: "service:redis-master-1" container_name: redis-slave-1 - image: dev-mis-registry.smiledev.net/library/redis:7.2 + image: redis:latest command: ["redis-server", "--port", "6380", "--cluster-enabled", "yes", "--cluster-config-file", "nodes.conf", "--cluster-node-timeout", "5000", "--appendonly", "yes"] restart: always redis-slave-2: network_mode: "service:redis-master-1" container_name: redis-slave-2 - image: dev-mis-registry.smiledev.net/library/redis:7.2 + image: redis:latest command: ["redis-server", "--port", "6480", "--cluster-enabled", "yes", "--cluster-config-file", "nodes.conf", "--cluster-node-timeout", "5000", "--appendonly", "yes"] restart: always redis-slave-3: network_mode: "service:redis-master-1" container_name: redis-slave-3 - image: dev-mis-registry.smiledev.net/library/redis:7.2 + image: redis:latest command: ["redis-server", "--port", "6580", "--cluster-enabled", "yes", "--cluster-config-file", "nodes.conf", "--cluster-node-timeout", "5000", "--appendonly", "yes"] restart: always redis_cluster_entry: network_mode: "service:redis-master-1" - image: dev-mis-registry.smiledev.net/library/redis:7.2 + image: redis:latest container_name: redis_cluster_entry command: redis-cli --cluster create 127.0.0.1:6379 127.0.0.1:6479 127.0.0.1:6579 127.0.0.1:6380 127.0.0.1:6480 127.0.0.1:6580 --cluster-yes depends_on: @@ -84,7 +84,7 @@ services: redis-master-1: network_mode: "host" container_name: redis-master-1 - image: dev-mis-registry.smiledev.net/library/redis:7.2 + image: redis:latest command: redis-server --port 6379 --cluster-enabled yes --cluster-config-file nodes.conf --cluster-node-timeout 5000 --appendonly yes volumes: - redis-master-1-data:/data @@ -92,7 +92,7 @@ services: redis-master-2: network_mode: "host" container_name: redis-master-2 - image: dev-mis-registry.smiledev.net/library/redis:7.2 + image: redis:latest command: redis-server --port 6479 --cluster-enabled yes --cluster-config-file nodes.conf --cluster-node-timeout 5000 --appendonly yes volumes: - redis-master-2-data:/data @@ -100,7 +100,7 @@ services: redis-master-3: network_mode: "host" container_name: redis-master-3 - image: dev-mis-registry.smiledev.net/library/redis:7.2 + image: redis:latest command: redis-server --port 6579 --cluster-enabled yes --cluster-config-file nodes.conf --cluster-node-timeout 5000 --appendonly yes volumes: - redis-master-3-data:/data @@ -108,7 +108,7 @@ services: redis-slave-1: network_mode: "host" container_name: redis-slave-1 - image: dev-mis-registry.smiledev.net/library/redis:7.2 + image: redis:latest command: redis-server --port 6380 --cluster-enabled yes --cluster-config-file nodes.conf --cluster-node-timeout 5000 --appendonly yes volumes: - redis-slave-1-data:/data @@ -116,7 +116,7 @@ services: redis-slave-2: network_mode: "host" container_name: redis-slave-2 - image: dev-mis-registry.smiledev.net/library/redis:7.2 + image: redis:latest command: redis-server --port 6480 --cluster-enabled yes --cluster-config-file nodes.conf --cluster-node-timeout 5000 --appendonly yes volumes: - redis-slave-2-data:/data @@ -124,15 +124,15 @@ services: redis-slave-3: network_mode: "host" container_name: redis-slave-3 - image: dev-mis-registry.smiledev.net/library/redis:7.2 + image: redis:latest command: redis-server --port 6580 --cluster-enabled yes --cluster-config-file nodes.conf --cluster-node-timeout 5000 --appendonly yes volumes: - redis-slave-3-data:/data redis_cluster_entry: network_mode: "host" - image: dev-mis-registry.smiledev.net/library/redis:7.2 - container_name: redis_cluster_entry + image: redis:latest + container_name: redis_cluster_entryπ command: > bash -c " sleep 10 &&