Giter Club home page Giter Club logo

docker-redis-cluster's Introduction

docker-redis-cluster

Build Status

A Redis cluster Docker image. This image is for testing environment. DO NOT use it for production.

Usage

Start a cluster. It will start 6 Redis servers listening on 7000~7005 port and a supervisor to make sure all servers started. After all servers are started, redis-trib will create a Redis cluster.

docker run -p 7000:7000 -p 7001:7001 -p 7002:7002 -p 7003:7003 -p 7004:7004 -p 7005:7005 tommy351/redis-cluster:3.2

You can mount a data volume on /data.

docker run -v /some/path/:/data tommy351/redis-cluster:3.2

If you are using Redis 4.0 and above, you can set CLUSTER_ANNOUNCE_IP. (See redis#2527 for more details)

docker run -e CLUSTER_ANNOUNCE_IP=127.0.0.1 tommy351/redis-cluster:4.0

License

MIT

docker-redis-cluster's People

Contributors

tommy351 avatar

Watchers

James Cloos avatar 朱明明 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.