# test.redis-cluster **Repository Path**: xiweicheng/test.redis-cluster ## Basic Information - **Project Name**: test.redis-cluster - **Description**: No description available - **Primary Language**: NodeJS - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-12-21 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # test.redis-cluster - Docker方式部署redis-cluster: https://www.jianshu.com/p/b7dea62bcd8b - 窗口模式: `docker-compose up` - 后台进程: `docker-compose up -d` - 使用redis-trib.rb创建集群: ``` docker run --rm -it inem0o/redis-trib create --replicas 1 192.168.1.7:8001 192.168.1.7:8002 192.168.1.7:8003 192.168.1.7:8004 192.168.1.7:8005 192.168.1.7:8006 ``` > 备注:192.168.1.7 是当前宿主机ip