mailu/compose.mailman.yml

30 lines
768 B
YAML
Raw Normal View History

2021-05-23 21:35:49 +00:00
version: "3.8"
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-23 21:27:42 +00:00
environment:
- MAILMAN_POSTFIX_OVERRIDES
2021-05-21 12:12:49 +00:00
networks:
- default
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-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:33:44 +00:00
file: postfix.cf.tmpl
template_driver: golang