1 Star 0 Fork 1

Zhou486/docker-redis-sentinel

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
docker-compose.yaml 737 Bytes
Copy Edit Raw Blame History
Mrzhuang authored 2020-07-11 10:10 . add config and docker-compose.yml
version: '3'
services:
master:
image: redis
container_name: redis-master
ports:
- 6379:6379
volumes:
- ./redis-master.conf:/usr/local/etc/redis/redis.conf
command: redis-server /usr/local/etc/redis/redis.conf
slave1:
image: redis
container_name: redis-slave-1
ports:
- 6380:6379
volumes:
- ./redis-slave-1.conf:/usr/local/etc/redis/redis.conf
command: redis-server /usr/local/etc/redis/redis.conf
slave2:
image: redis
container_name: redis-slave-2
ports:
- 6381:6379
volumes:
- ./redis-slave-2.conf:/usr/local/etc/redis/redis.conf
command: redis-server /usr/local/etc/redis/redis.conf
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zzzxfbb/docker-redis-sentinel.git
git@gitee.com:zzzxfbb/docker-redis-sentinel.git
zzzxfbb
docker-redis-sentinel
docker-redis-sentinel
master

Search