mailu/compose.mailman.yml

33 lines
813 B
YAML
Raw Normal View History

version: "3.6"
2021-05-23 21:07:37 +00:00
# TODO(decentral1se): rename `postfix_override` to `mailman_override` because
# there are more override files now and it is good to be
# more specific
services:
smtp:
2021-05-21 12:12:49 +00:00
networks:
- default
- shared_mailman_network
2021-05-16 21:13:05 +00:00
volumes:
2021-05-18 19:49:14 +00:00
- "shared-mailman-core:/opt/mailman/"
configs:
- source: postfix_override
2021-05-16 21:08:12 +00:00
target: /overrides/postfix.cf
2021-05-21 12:12:49 +00:00
networks:
shared_mailman_network:
external: true
name: ${MAILMAN_CORE_NETWORK}
2021-05-16 21:13:05 +00:00
volumes:
2021-05-18 19:49:38 +00:00
# https://git.autonomic.zone/coop-cloud/mailman3/src/branch/master/compose.yml
2021-05-18 19:49:14 +00:00
shared-mailman-core:
2021-05-16 21:13:05 +00:00
external: true
name: ${MAILMAN_CORE_VOLUME}
2021-05-16 21:13:05 +00:00
configs:
postfix_override:
name: ${STACK_NAME}_postfix_overrides_${POSTFIX_OVERRIDE_VERSION}
2021-05-23 21:07:37 +00:00
file: postfix.mailman.cf