wildduck/docker-compose.yml

27 lines
637 B
YAML
Raw Normal View History

2020-02-13 20:06:27 +08:00
version: "3.7"
services:
wildduck:
container_name: wildduck
restart: always
2020-02-13 20:06:27 +08:00
build: .
ports:
- "8080:8080"
- "143:143"
- "110:110"
- "993:993"
- "995:995"
2020-02-13 20:06:27 +08:00
depends_on:
- redis
- mongo
environment:
CMD_ARGS: "--dbs.mongo=mongodb://mongo:27017/ --dbs.redis=redis://redis:6379/3 --api.host=0.0.0.0"
2020-02-13 20:06:27 +08:00
redis:
image: redis:alpine
restart: always
2020-02-13 20:06:27 +08:00
volumes:
- /data
mongo:
image: mongo
restart: always
volumes:
- /data/db