lab-ansible/roles/apps/templates/compose-files/postfix.yml.j2

22 lines
531 B
Plaintext
Raw Normal View History

2023-12-29 18:07:08 +00:00
{# 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(' ') }}
2024-01-06 18:36:50 +00:00
HOSTNAME: {{ apps_vars.postfix.hostname }}
DKIM_AUTOGENERATE: true
networks:
2023-12-28 21:39:11 +00:00
{{ apps_postfix_docker_network }}:
aliases:
- postfix
volumes:
2023-11-05 17:27:49 +00:00
- "./data:/etc/opendkim/keys:rw"
networks:
{{ apps_postfix_docker_network }}:
2023-11-08 21:30:41 +00:00
external: true