This commit is contained in:
Val
2014-12-03 10:34:50 +00:00
parent 634b329dd9
commit fd644cd67f
19 changed files with 106 additions and 133 deletions

View File

@@ -1,11 +1,9 @@
all: dovecot
all: build
.PHONY: dovecot
.PHONY: build
dovecot:
cd dovecot; docker build -t dovecot_made_special:2.1.7 .
build:
docker build -t dockermail_made_special:2.1.7 .
run-dovecot:
docker run -d -p 25:25 -p 587:587 -p 143:143 -v /opt/dockermail/settings:/mail_settings -v /opt/dockermail/vmail:/vmail dovecot_made_special:2.1.7
run-all: run-dovecot
run:
docker run -name dockermail -d -p 25:25 -p 587:587 -p 143:143 -v /opt/dockermail/settings:/mail_settings -v /opt/dockermail/vmail:/vmail dockermail_made_special:2.1.7