Code Monkey home page Code Monkey logo

docker-redis-cluster's Introduction

1> 测试环境:Centos7

2> 首先执行:sh init.sh(只执行一次)

3> 其次执行:docker-compose up -d

4> 等所有节点启动成功后,执行:sh docker-redis-trib.sh IP_ARG(此处IP_ARG为你的局域网IP,如我的是:192.168.22.65,只执行一次)

5> 访问节点分别为:IP_ARG:7001,IP_ARG:7002,IP_ARG:7003,IP_ARG:7004,IP_ARG:7005,IP_ARG:7006

6> 若是重新启动集群,只需要docker-compose up -d 一条命令就可以了,无需再次执行.sh文件

docker-redis-cluster's People

Contributors

wendrewshay avatar

Watchers

James Cloos 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.