mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +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
|