mirror of
https://github.com/Mailu/Mailu.git
synced 2025-03-17 20:57:54 +02:00
Add a dynamic Webmail option with a 'none' container
This commit is contained in:
parent
cf84b82c57
commit
14ec783ef7
3
.env
3
.env
@ -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:
|
||||
|
5
none/Dockerfile
Normal file
5
none/Dockerfile
Normal file
@ -0,0 +1,5 @@
|
||||
# This is an idle image to dynamically replace any component if disabled.
|
||||
|
||||
FROM alpine
|
||||
|
||||
CMD sleep 1000000d
|
Loading…
x
Reference in New Issue
Block a user