Add shared network config

This commit is contained in:
decentral1se 2021-05-21 14:12:49 +02:00
parent 8291521d10
commit 20a3b85f1c
No known key found for this signature in database
GPG Key ID: 92DAD76BD9567B8A
1 changed files with 8 additions and 0 deletions

View File

@ -2,12 +2,20 @@ version: "3.6"
services:
smtp:
networks:
- default
- shared_mailman_network
volumes:
- "shared-mailman-core:/opt/mailman/"
configs:
- source: postfix_override
target: /overrides/postfix.cf
networks:
shared_mailman_network:
external: true
name: ${MAILMAN_CORE_NETWORK}
volumes:
# https://git.autonomic.zone/coop-cloud/mailman3/src/branch/master/compose.yml
shared-mailman-core: