30 lines
768 B
YAML
30 lines
768 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
|
|
volumes:
|
|
- "shared-mailman-core:/opt/mailman/"
|
|
configs:
|
|
- source: postfix_override
|
|
target: /overrides/postfix.cf
|
|
|
|
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
|