Add a dynamic Webmail option with a 'none' container

master
Pierre Jaury 8 years ago
parent cf84b82c57
commit 14ec783ef7

@ -25,6 +25,9 @@ HOSTNAME=mail.freeposte.io
# Postmaster local part (will append the main mail domain)
POSTMASTER=admin
# Choose which webmail to run if any (values: roundcube, none)
WEBMAIL=none
# Networks granted relay permissions, make sure that you include your Docker
# internal network (default to 172.17.0.0/16)
RELAYNETS=172.16.0.0/12

@ -84,8 +84,8 @@ services:
- /var/run/docker.sock:/var/run/docker.sock:ro
webmail:
# build: roundcube
image: freeposte/roundcube
# build: "$WEBMAIL"
image: "freeposte/$WEBMAIL"
restart: always
env_file: .env
volumes:

@ -0,0 +1,5 @@
# This is an idle image to dynamically replace any component if disabled.
FROM alpine
CMD sleep 1000000d
Loading…
Cancel
Save