2020-02-13 20:06:27 +08:00
|
|
|
version: "3.7"
|
|
|
|
services:
|
|
|
|
wildduck:
|
2020-07-14 05:18:56 +08:00
|
|
|
restart: always
|
2020-08-20 02:41:47 +08:00
|
|
|
image: nodemailer/wildduck
|
2020-02-13 20:06:27 +08:00
|
|
|
ports:
|
|
|
|
- "8080:8080"
|
2020-02-13 22:31:30 +08:00
|
|
|
- "143:143"
|
|
|
|
- "110:110"
|
|
|
|
- "993:993"
|
|
|
|
- "995:995"
|
2020-02-13 20:06:27 +08:00
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
- mongo
|
2020-07-14 05:18:56 +08:00
|
|
|
environment:
|
2020-08-20 02:41:47 +08:00
|
|
|
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
|
2020-02-13 20:06:27 +08:00
|
|
|
redis:
|
|
|
|
image: redis:alpine
|
2020-07-14 05:18:56 +08:00
|
|
|
restart: always
|
2020-02-13 20:06:27 +08:00
|
|
|
volumes:
|
|
|
|
- /data
|
|
|
|
mongo:
|
|
|
|
image: mongo
|
|
|
|
restart: always
|
|
|
|
volumes:
|
2020-07-14 05:18:56 +08:00
|
|
|
- /data/db
|