From 07fdc8d5a1ad46891dffa33989c19868ad4811e5 Mon Sep 17 00:00:00 2001 From: andryyy Date: Sun, 11 Dec 2016 20:09:01 +0100 Subject: [PATCH] Expose port 8081/tcp --- README.md | 8 ++++++++ build-nginx.sh | 1 + 2 files changed, 9 insertions(+) diff --git a/README.md b/README.md index 8e2119f7..8de9dbfc 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,16 @@ mailcow dockerized comes with 11 containers linked in a mailcow network: Dovecot, Memcached, Redis, MariaDB, PowerDNS Recursor, PHP-FPM, Postfix, Nginx, Rmilter, Rspamd and SOGo. +The DNS resolver is DNSSEC enabled and forwards local hostnames to Docker. + ## Installation +You need Docker. Most systems can install Docker by running the following command: + +``` +wget -qO- https://get.docker.com/ | sh +``` + 1. Open mailcow.conf and change stuff, do not use special chars in passwords. This will be fixed soon. 2. Run ./build-all.sh diff --git a/build-nginx.sh b/build-nginx.sh index dfb82bb5..3772f2aa 100755 --- a/build-nginx.sh +++ b/build-nginx.sh @@ -24,6 +24,7 @@ sed -i "s#database_pass.*#database_pass = \"${DBPASS}\";#" data/web/inc/vars.inc docker run \ -p 443:443 \ + --expose 8081 \ --name ${NAME} \ -v ${PWD}/data/web:/web:ro \ -v ${PWD}/data/conf/rspamd/dynmaps:/dynmaps:ro \