Skip to content

Commit

Permalink
update redis-cluster version to 6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jonyig committed Jul 13, 2022
1 parent ddec73c commit 4a31441
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions docker-compose.redis-cluster.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
redis-node-0:
image: docker.io/bitnami/redis-cluster:7.0
image: docker.io/bitnami/redis-cluster:6.2
volumes:
- ./data/redis-cluster_data-0:/bitnami/redis/data
networks:
Expand All @@ -11,7 +11,7 @@ services:
- 'REDIS_NODES=redis-node-0 redis-node-1 redis-node-2 redis-node-3 redis-node-4 redis-node-5'

redis-node-1:
image: docker.io/bitnami/redis-cluster:7.0
image: docker.io/bitnami/redis-cluster:6.2
volumes:
- ./data/redis-cluster_data-1:/bitnami/redis/data
networks:
Expand All @@ -21,7 +21,7 @@ services:
- 'REDIS_NODES=redis-node-0 redis-node-1 redis-node-2 redis-node-3 redis-node-4 redis-node-5'

redis-node-2:
image: docker.io/bitnami/redis-cluster:7.0
image: docker.io/bitnami/redis-cluster:6.2
volumes:
- ./data/redis-cluster_data-2:/bitnami/redis/data
networks:
Expand All @@ -31,7 +31,7 @@ services:
- 'REDIS_NODES=redis-node-0 redis-node-1 redis-node-2 redis-node-3 redis-node-4 redis-node-5'

redis-node-3:
image: docker.io/bitnami/redis-cluster:7.0
image: docker.io/bitnami/redis-cluster:6.2
volumes:
- ./data/redis-cluster_data-3:/bitnami/redis/data
networks:
Expand All @@ -41,7 +41,7 @@ services:
- 'REDIS_NODES=redis-node-0 redis-node-1 redis-node-2 redis-node-3 redis-node-4 redis-node-5'

redis-node-4:
image: docker.io/bitnami/redis-cluster:7.0
image: docker.io/bitnami/redis-cluster:6.2
volumes:
- ./data/redis-cluster_data-4:/bitnami/redis/data
networks:
Expand All @@ -51,11 +51,13 @@ services:
- 'REDIS_NODES=redis-node-0 redis-node-1 redis-node-2 redis-node-3 redis-node-4 redis-node-5'

redis-node-5:
image: docker.io/bitnami/redis-cluster:7.0
image: docker.io/bitnami/redis-cluster:6.2
volumes:
- ./data/redis-cluster_data-5:/bitnami/redis/data
networks:
- backend
ports:
- "6379:6379"
depends_on:
- redis-node-0
- redis-node-1
Expand Down

0 comments on commit 4a31441

Please sign in to comment.