-
Notifications
You must be signed in to change notification settings - Fork 195
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (41 loc) · 943 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (41 loc) · 943 Bytes
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
40
41
version: "3.7"
services:
forwardemail:
restart: always
image: forwardemail/forwardemail
ports:
# web
- "3000:3000"
# api
- "4000:4000"
# caldav
- "5000:5000"
# carddav
- "6000:6000"
# 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