22 lines
531 B
Django/Jinja
22 lines
531 B
Django/Jinja
{# code: language=ansible-jinja #}
|
|
# THIS FILE IS MANAGED BY ANSIBLE
|
|
|
|
services:
|
|
app:
|
|
image: boky/postfix:{{ apps_vars.postfix.version }}
|
|
restart: always
|
|
environment:
|
|
ALLOWED_SENDER_DOMAINS: {{ apps_senders | join(' ') }}
|
|
HOSTNAME: {{ apps_vars.postfix.hostname }}
|
|
DKIM_AUTOGENERATE: true
|
|
networks:
|
|
{{ apps_postfix_docker_network }}:
|
|
aliases:
|
|
- postfix
|
|
volumes:
|
|
- "./data:/etc/opendkim/keys:rw"
|
|
|
|
networks:
|
|
{{ apps_postfix_docker_network }}:
|
|
external: true
|