forked from forwardemail/forwardemail.net
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
39 lines (39 loc) · 895 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
version: "3.7"
services:
forwardemail:
restart: always
image: forwardemail/forwardemail
ports:
# web
- "3000:3000"
# api
- "4000:4000"
# caldav
- "5000:5000"
# smtp
- "2432:2432"
- "2465:2465"
- "2587:2587"
# imap
- "2993:2993"
# pop3
- "2995:2995"
# mx
#- "25:25"
depends_on:
- redis
- mongo
environment:
CMD_ARGS:
--dbs.mongo=mongodb://mongo:27017/forwardemail
--dbs.redis=redis://redis:6379/
redis:
image: redis:alpine
restart: always
volumes:
- /data
mongo:
image: mongo
restart: always
volumes:
- /data/db