dgiot/.ci/docker-compose-file/docker-compose-redis-sentinel-tcp.yaml
2021-05-18 14:54:48 +08:00

12 lines
279 B
YAML

version: '3.9'
services:
redis_server:
container_name: redis
image: redis:${REDIS_TAG}
volumes:
- ./redis/:/data/conf
command: bash -c "/bin/bash /data/conf/redis.sh --node sentinel && tail -f /var/log/redis-server.log"
networks:
- emqx_bridge