1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/twemproxy/docker-compose.yml
2019-11-07 14:03:03 +08:00

25 lines
442 B
YAML

version: "3.7"
services:
twemproxy:
image: vimagick/twemproxy
command: >
--conf-file=conf/nutcracker.yml
--output=logs/nutcracker.log
--verbose=5
ports:
- "6379:6379"
- "22222:22222"
volumes:
- ./data/twemproxy:/opt/twemproxy
depends_on:
- redis
restart: unless-stopped
redis:
image: redis:alpine
volumes:
- ./data/redis:/data
restart: unless-stopped