wildduck/docker-compose.yml
Assis Ngolo ba3e3b419c
Improve docker-compose.yml (#244)
* 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>
2020-07-13 23:18:56 +02:00

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