mirror of
https://github.com/optim-enterprises-bv/Mailu.git
synced 2025-10-29 17:22:20 +00:00
Make it possible to serve Mailu over ipv6
This commit is contained in:
@@ -18,7 +18,8 @@ VERSION=stable
|
||||
SECRET_KEY=ChangeMeChangeMe
|
||||
|
||||
# Address where listening ports should bind
|
||||
BIND_ADDRESS=127.0.0.1
|
||||
BIND_ADDRESS4=127.0.0.1
|
||||
BIND_ADDRESS6=::1
|
||||
|
||||
# Main mail domain
|
||||
DOMAIN=mailu.io
|
||||
@@ -94,4 +95,3 @@ COMPOSE_PROJECT_NAME=mailu
|
||||
# Default password scheme used for newly created accounts and changed passwords
|
||||
# (value: SHA512-CRYPT, SHA256-CRYPT, MD5-CRYPT, CRYPT)
|
||||
PASSWORD_SCHEME=SHA512-CRYPT
|
||||
|
||||
|
||||
@@ -8,15 +8,24 @@ services:
|
||||
restart: always
|
||||
env_file: .env
|
||||
ports:
|
||||
- "$BIND_ADDRESS:80:80"
|
||||
- "$BIND_ADDRESS:443:443"
|
||||
- "$BIND_ADDRESS:110:110"
|
||||
- "$BIND_ADDRESS:143:143"
|
||||
- "$BIND_ADDRESS:993:993"
|
||||
- "$BIND_ADDRESS:995:995"
|
||||
- "$BIND_ADDRESS:25:25"
|
||||
- "$BIND_ADDRESS:465:465"
|
||||
- "$BIND_ADDRESS:587:587"
|
||||
- "$BIND_ADDRESS4:80:80"
|
||||
- "$BIND_ADDRESS4:443:443"
|
||||
- "$BIND_ADDRESS4:110:110"
|
||||
- "$BIND_ADDRESS4:143:143"
|
||||
- "$BIND_ADDRESS4:993:993"
|
||||
- "$BIND_ADDRESS4:995:995"
|
||||
- "$BIND_ADDRESS4:25:25"
|
||||
- "$BIND_ADDRESS4:465:465"
|
||||
- "$BIND_ADDRESS4:587:587"
|
||||
- "$BIND_ADDRESS6:80:80"
|
||||
- "$BIND_ADDRESS6:443:443"
|
||||
- "$BIND_ADDRESS6:110:110"
|
||||
- "$BIND_ADDRESS6:143:143"
|
||||
- "$BIND_ADDRESS6:993:993"
|
||||
- "$BIND_ADDRESS6:995:995"
|
||||
- "$BIND_ADDRESS6:25:25"
|
||||
- "$BIND_ADDRESS6:465:465"
|
||||
- "$BIND_ADDRESS6:587:587"
|
||||
volumes:
|
||||
- "$ROOT/certs:/certs"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user