Watch 1 Star 5 Fork 0

Tortoise / redis-clusterDocker

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Redis 集群 spread retract

Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

redis-cluster

介绍

Redis集群

安装教程

  1. 安装docker-compose

    // 下载
    curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
    
    
    // 赋予权限
    chmod +x /usr/local/bin/docker-compose
  2. 修改sysctl文件

    vim /etc/sysctl.conf
    
    // 新增内容
    vm.overcommit_memory=1
    
    // 使配置生效
    sysctl -p
  3. 运行docker-compose

    docker-compose -f xxx/redis-cluster/docker-compose.yml -d

Comments ( 0 )

Sign in for post a comment

Docker
1
https://gitee.com/hskycloud/redis-cluster.git
git@gitee.com:hskycloud/redis-cluster.git
hskycloud
redis-cluster
redis-cluster
master

Search