北尚诉办
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
479 B

version: '3.7'
services:
sentinel2:
image: redis
ports:
- 9604:6379
- 26379:26379
container_name: redis-sentinel-2
command: redis-sentinel /usr/local/etc/redis/sentinel.conf
volumes:
- /opt/epdc/redis/sentinel/conf/sentinel1.conf:/usr/local/etc/redis/sentinel.conf
- /opt/epdc/redis/sentinel/data:/data
- /opt/epdc/redis/sentinel/log:/usr/local/redis/sentinel/log
- /opt/epdc/redis/sentinel/dir:/usr/local/redis/sentinel