Skip to content

s0rg/redis-cluster-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redis-cluster-compose

Any-node redis cluster in a single docker-compose.

By default it starts 9-nodes cluster, with 3 master nodes.

If you want other nodes amount:

  • add or remove nodes (please note that your new nodes amount, MUST be divisible by 3)
  • edit nodes argument for cluster-up.sh

note: nodes names (redis_node_N) are important, if you want/need to change them, dont forget to modify node_name function in cluster-up.sh accordingly.

usage

docker compose up

connections scheme

This scheme was made by decompose tool:

svg

license

MIT

About

docker-compose for any-nodes redis-cluster

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages