wildduck/docker-compose.yml
2020-08-19 20:41:47 +02:00

30 lines
No EOL
728 B
YAML

version: "3.7"
services:
wildduck:
restart: always
image: nodemailer/wildduck
ports:
- "8080:8080"
- "143:143"
- "110:110"
- "993:993"
- "995:995"
depends_on:
- redis
- mongo
environment:
CMD_ARGS:
--dbs.mongo=mongodb://mongo:27017/wildduck
--dbs.redis=redis://redis:6379/3
--api.host=0.0.0.0
--api.accessToken=PLEASE_CHANGE_ME
redis:
image: redis:alpine
restart: always
volumes:
- /data
mongo:
image: mongo
restart: always
volumes:
- /data/db