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

25 lines
442 B
YAML
Raw Normal View History

2019-11-07 08:03:03 +02:00
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