mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-28 09:08:50 +02:00
25 lines
442 B
YAML
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
|