This is a linked image as utility for redis-cluster
136
This is an implementation of a redis cluster in a dockerized environment. This project aims to solve some limitations with redis cluster in docker swarm environment
Limitations due to:
To avoid this issues and the needed for fixed Ips in the cluster. The containers will check its IPs and comunicate it with other nodes in the cluster.
This is a first approach to a real scalable architecture.
All nodes are fixed in the compose and scale up need some manual intervention. In future work, I will evolve to automate all the cluster management.
This project will generate two images:
Actual versions for redis are:
Clone this project and use:
/utils/create-network.sh Create an overlay network for redis cluster. Expand or use with your solution network
/utils/run-redis.sh Create redis stack, default network redis-net. Expand or use with your solution network
/utils/initialize-cluster.sh Launch after redis nodes are up. Helper container to create cluster, default network redis-net. Expand or use with your solution network
Content type
Image
Digest
Size
8.2 MB
Last updated
almost 9 years ago
docker pull adrianriobo/redis-cluster-initializer:4.0.2