2023-12-23 16:52:27 +00:00
|
|
|
# THIS FILE IS MANAGED BY ANSIBLE
|
2023-11-03 22:38:15 +00:00
|
|
|
# code: language=ansible-jinja
|
2023-12-23 16:52:27 +00:00
|
|
|
|
2023-11-03 22:38:15 +00:00
|
|
|
version: "3.8"
|
|
|
|
|
|
|
|
services:
|
|
|
|
app:
|
|
|
|
image: boky/postfix:{{ apps_vars.postfix.version }}
|
|
|
|
restart: always
|
|
|
|
environment:
|
2023-11-11 14:09:35 +00:00
|
|
|
ALLOWED_SENDER_DOMAINS: "{{ apps_senders | join(' ') }}"
|
2023-11-11 14:47:51 +00:00
|
|
|
HOSTNAME: "{{ apps_vars.postfix.hostname }}"
|
2023-11-03 22:38:15 +00:00
|
|
|
DKIM_AUTOGENERATE: "true"
|
|
|
|
networks:
|
2023-12-28 21:39:11 +00:00
|
|
|
{{ apps_postfix_docker_network }}:
|
|
|
|
aliases:
|
|
|
|
- postfix
|
2023-11-03 22:38:15 +00:00
|
|
|
volumes:
|
2023-11-05 17:27:49 +00:00
|
|
|
- "./data:/etc/opendkim/keys:rw"
|
2023-11-03 22:38:15 +00:00
|
|
|
|
|
|
|
networks:
|
|
|
|
{{ apps_postfix_docker_network }}:
|
2023-11-08 21:30:41 +00:00
|
|
|
external: true
|