data.coop-ansible/roles/docker/tasks/services/postfix.yml

13 lines
255 B
YAML
Raw Permalink Normal View History

---
- name: setup postfix docker container for outgoing mail
docker_container:
name: postfix
image: boky/postfix
restart_policy: unless-stopped
networks:
- name: postfix
env:
ALLOWED_SENDER_DOMAINS: "{{ base_domain }}"