Sign inSign up

adrianriobo/redis-cluster-initializer

By adrianriobo

•Updated almost 9 years ago

This is a linked image as utility for redis-cluster

Image
1

136

adrianriobo/redis-cluster-initializer repository overview

⁠redis-cluster-docker

Docker Pulls

⁠What does this solution provide

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.

⁠Current images

This project will generate two images:

⁠Versions

Actual versions for redis are:

  • 4.0.2

⁠Utils

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

Tag summary

Content type

Image

Digest

Size

8.2 MB

Last updated

almost 9 years ago

docker pull adrianriobo/redis-cluster-initializer:4.0.2