-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
53 lines (47 loc) · 1.03 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
version: '2'
services:
mbsync-personal:
build: mbsync
image: arecker/mbsync:latest
container_name: mbsync-personal
network_mode: bridge
restart: always
volumes:
- personal:/home/mailman/Maildir
env_file:
- ~/.mailman-personal.env
mbsync-work:
build: mbsync
image: arecker/mbsync:latest
container_name: mbsync-work
network_mode: bridge
restart: always
volumes:
- work:/home/mailman/Maildir
env_file:
- ~/.mailman-work.env
dovecot-personal:
build: dovecot
image: arecker/dovecot:latest
container_name: dovecot-personal
network_mode: bridge
restart: always
ports:
- 127.0.0.1:8143:143
volumes:
- personal:/home/mailman/Maildir
dovecot-work:
build: dovecot
image: arecker/dovecot:latest
container_name: dovecot-work
network_mode: bridge
restart: always
ports:
- 127.0.0.1:8144:143
volumes:
- work:/home/mailman/Maildir
volumes:
personal:
driver: local
work:
driver: local