Attempt to share out mailu network

This commit is contained in:
decentral1se 2021-05-17 00:38:58 +02:00
parent 02e4559768
commit 3266e9ffbc
Signed by: decentral1se
GPG Key ID: 92DAD76BD9567B8A
2 changed files with 5 additions and 0 deletions

View File

@ -8,6 +8,7 @@ SERVE_FROM_DOMAIN=${DOMAIN}
MAILMAN_ADMIN_EMAIL=admin@example.com
SMTP_HOST=mail_example_com_smtp # mailu smtp
SMTP_NETWORK=mail_example_com_default # mailu network
SMTP_PORT=25
SECRET_DB_PASSWORD_VERSION=v1

View File

@ -9,6 +9,7 @@ services:
- "mailman-core:/opt/mailman/"
networks:
- internal
- shared_mailu_network
secrets:
- db_password
- django_secret_key
@ -112,6 +113,9 @@ networks:
internal:
proxy:
external: true
shared_mailu_network:
external: true
name: ${SMTP_NETWORK}
volumes:
db: