Disable the frontend Web server by default

This commit is contained in:
Pierre Jaury
2016-08-21 14:17:00 +02:00
parent a8eafc508a
commit 1b6c514dc5
2 changed files with 4 additions and 1 deletions

3
.env
View File

@@ -31,6 +31,9 @@ HOSTNAME=mail.freeposte.io
# Postmaster local part (will append the main mail domain) # Postmaster local part (will append the main mail domain)
POSTMASTER=admin POSTMASTER=admin
# Choose which frontend Web server to run if any (value: nginx, none)
FRONTEND=none
# Choose which webmail to run if any (values: roundcube, none) # Choose which webmail to run if any (values: roundcube, none)
WEBMAIL=none WEBMAIL=none

View File

@@ -4,7 +4,7 @@ services:
http: http:
# build: nginx # build: nginx
image: freeposte/reverse-proxy:$VERSION image: freeposte/$FRONTEND:$VERSION
restart: always restart: always
env_file: .env env_file: .env
ports: ports: