This repository has been archived on 2021-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mailu/compose.mailman.yml

36 lines
889 B
YAML

version: "3.8"
# 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:
environment:
- MAILMAN_POSTFIX_OVERRIDES
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:
external: true
name: ${MAILMAN_CORE_VOLUME}
configs:
postfix_override:
name: ${STACK_NAME}_postfix_overrides_${POSTFIX_OVERRIDE_VERSION}
file: postfix.cf.tmpl
template_driver: golang