1 Star 0 Fork 2

武穆逸仙/FreeRedis

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 1.07 KB
一键复制 编辑 原始数据 按行查看 历史
murph 提交于 2020-12-24 19:53 . Environment variable injection mode
version: "3.9"
services:
redis_single:
image: redis:6.0-alpine
hostname: "redis_single"
container_name: "redis_single"
volumes:
- ${workDirectory}/env/redis.conf:/usr/local/etc/redis/redis.conf
ports:
- "6379:6379"
command: ["redis-server", "/usr/local/etc/redis/redis.conf"]
redis_interceptor:
image: redis:6.0-alpine
hostname: "redis_interceptor"
container_name: "redis_interceptor"
ports:
- "6479:6379"
command: ["redis-server"]
redis_flush:
image: redis:6.0-alpine
hostname: "redis_flush"
container_name: "redis_flush"
ports:
- "6279:6379"
command: ["redis-server"]
redis_master:
image: redis:6.0-alpine
hostname: "redis_master"
container_name: "redis_master"
ports:
- 6380:6379
redis_sentinel:
image: redis:6.0-alpine
hostname: "redis_sentinel"
container_name: "redis_sentinel"
ports:
- 26379:26379
command: redis-sentinel /usr/local/etc/redis/sentinel.conf
volumes:
- ${workDirectory}/env/sentinel.conf:/usr/local/etc/redis/sentinel.conf
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/star8521/FreeRedis.git
git@gitee.com:star8521/FreeRedis.git
star8521
FreeRedis
FreeRedis
master

搜索帮助