forked from lava/dockermail
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
32 lines (21 loc) · 872 Bytes
/
Makefile
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
all: mail-base dovecot rainloop owncloud
.PHONY: mail-base dovecot rainloop owncloud run-dovecot run-rainloop run-owncloud
mail-base:
cd mail-base; docker build --no-cache -t mail-base .
dovecot: mail-base
cd dovecot; docker build -t dovecot:2.1.7 .
rainloop: dovecot
cd rainloop; docker build -t rainloop:1.6.9 .
mailpile: dovecot
cd mailpile; docker build -t mailpile:latest .
owncloud: dovecot
cd owncloud; docker build -t owncloud:7.0.2 .
run-dovecot:
docker run -d -p 0.0.0.0:25:25 -p 0.0.0.0:587:587 -p 0.0.0.0:143:143 -v /srv/vmail:/srv/vmail dovecot:2.1.7
run-rainloop:
docker run -d -p 127.0.0.1:33100:80 rainloop:1.6.9
run-mailpile:
docker run -d -p 127.0.0.1:33411:33411 mailpile:latest
run-owncloud:
docker run -d -p 127.0.0.1:33200:80 -v /srv/owncloud:/var/www/owncloud/data owncloud:7.0.2
run-all: run-dovecot run-rainloop run-owncloud