forked from Mailu/Mailu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml.dist
114 lines (102 loc) · 2.26 KB
/
docker-compose.yml.dist
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
version: '2'
services:
http:
# build: $FRONTEND
image: mailu/$FRONTEND:$VERSION
restart: always
env_file: .env
ports:
- "$BIND_ADDRESS:80:80"
- "$BIND_ADDRESS:443:443"
volumes:
- "$ROOT/certs:/certs"
redis:
image: redis:latest
restart: always
volumes:
- "$ROOT/redis:/data"
imap:
# build: dovecot
image: mailu/dovecot:$VERSION
restart: always
env_file: .env
ports:
- "$BIND_ADDRESS:110:110"
- "$BIND_ADDRESS:143:143"
- "$BIND_ADDRESS:993:993"
- "$BIND_ADDRESS:995:995"
- "$BIND_ADDRESS:4190:4190"
volumes:
- "$ROOT/data:/data"
- "$ROOT/mail:/mail"
- "$ROOT/certs:/certs"
- "$ROOT/overrides:/overrides"
smtp:
# build: postfix
image: mailu/postfix:$VERSION
restart: always
env_file: .env
ports:
- "$BIND_ADDRESS:25:25"
- "$BIND_ADDRESS:465:465"
- "$BIND_ADDRESS:587:587"
volumes:
- "$ROOT/data:/data"
- "$ROOT/certs:/certs"
- "$ROOT/overrides:/overrides"
milter:
# build: rmilter
image: mailu/rmilter:$VERSION
restart: always
env_file: .env
volumes:
- "$ROOT/filter:/data"
- "$ROOT/dkim:/dkim"
- "$ROOT/overrides:/overrides"
antispam:
# build: rspamd
image: mailu/rspamd:$VERSION
restart: always
env_file: .env
volumes:
- "$ROOT/filter:/var/lib/rspamd"
antivirus:
# build: clamav
image: mailu/clamav:$VERSION
restart: always
env_file: .env
volumes:
- "$ROOT/filter:/data"
webdav:
# build: $WEBDAV
image: mailu/$WEBDAV:$VERSION
restart: always
env_file: .env
volumes:
- "$ROOT/dav:/data"
admin:
# build: admin
image: mailu/admin:$VERSION
restart: always
env_file: .env
ports:
- "127.0.0.1:8000:80"
volumes:
- "$ROOT/data:/data"
- "$ROOT/dkim:/dkim"
- "$ROOT/certs:/certs"
- /var/run/docker.sock:/var/run/docker.sock:ro
webmail:
# build: "$WEBMAIL"
image: "mailu/$WEBMAIL:$VERSION"
restart: always
env_file: .env
volumes:
- "$ROOT/webmail:/data"
fetchmail:
# build: fetchmail
image: mailu/fetchmail:$VERSION
restart: always
env_file: .env
volumes:
- "$ROOT/data:/data"