Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

cpapidas/docker-compose-redis-cluster

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker Redis Cluster

This configuration is about Redis Cluster. The following implementation creates a cluster with 3 master and 0 replicas.

Optional

If you want to change it just create a Redis block in dokcer-compose.yml file and edit the docker-data/docker-entrypoint.sh file, the line echo "yes" | ruby /redis/src/redis-trib.rb create --replicas 0 173.17.0.2:7000 173.17.0.3:7001 173.17.0.4:7002 add 3 more IPs to the end and change the --replicas 0 to 1.

Production

If you want to use this on production is define for each Redis container to run in static machine.

How To Start

  1. Download the project $ git clone http://github.com/cpapidas/docker-compose-redis-cluster
  2. cd docker-compose-redis-cluster
  3. docker-compose build
  4. docker-compose up or docker-compose up -d

About

Docker compose redis cluster configuration.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.