mirror of
https://github.com/nodemailer/wildduck.git
synced 2024-12-28 11:14:46 +08:00
ba3e3b419c
* drop host networking for docker-compose * start wildduck by running ./compose.sh * remove container names and duplicate configs * remove bloat * Add back newline * Remove volumes Co-authored-by: Louis Laureys <louis@laureys.me>
27 lines
No EOL
637 B
YAML
27 lines
No EOL
637 B
YAML
version: "3.7"
|
|
services:
|
|
wildduck:
|
|
container_name: wildduck
|
|
restart: always
|
|
build: .
|
|
ports:
|
|
- "8080:8080"
|
|
- "143:143"
|
|
- "110:110"
|
|
- "993:993"
|
|
- "995:995"
|
|
depends_on:
|
|
- redis
|
|
- mongo
|
|
environment:
|
|
CMD_ARGS: "--dbs.mongo=mongodb://mongo:27017/ --dbs.redis=redis://redis:6379/3 --api.host=0.0.0.0"
|
|
redis:
|
|
image: redis:alpine
|
|
restart: always
|
|
volumes:
|
|
- /data
|
|
mongo:
|
|
image: mongo
|
|
restart: always
|
|
volumes:
|
|
- /data/db |