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

19 lines
482 B
Plaintext
Raw Normal View History

# code: language=ansible-jinja
version: "3.8"
services:
app:
image: boky/postfix:{{ apps_vars.postfix.version }}
restart: always
environment:
ALLOWED_SENDER_DOMAINS: "{{ apps_sender_domains | join(' ') }}"
HOSTNAME: "{{ apps_vars.postfix.domain }}"
DKIM_AUTOGENERATE: "true"
networks:
- {{ apps_postfix_docker_network }}
volumes:
2023-11-05 17:27:49 +00:00
- "./data:/etc/opendkim/keys:rw"
networks:
{{ apps_postfix_docker_network }}:
external: true