sunetdrive/templates/cache/docker-compose_cache.yml.erb

30 lines
612 B
Plaintext
Raw Normal View History

2023-02-13 09:44:56 +00:00
version: '3.2'
services:
redis-server:
image: redis:alpine
dns:
- 89.46.20.75
- 89.46.21.29
- 89.32.32.32
ports:
- "6379:6379"
volumes:
- /opt/redis/server:/data
command: redis-server /data/server.conf --loglevel verbose
restart: always
redis-sentinel:
image: redis:alpine
dns:
- 89.46.20.75
- 89.46.21.29
- 89.32.32.32
ports:
- "26379:26379"
volumes:
- /opt/redis/sentinel:/data
command: redis-server /data/sentinel.conf --sentinel
restart: always