infrastructure/smtp-relay/docker-compose.yaml

19 lines
494 B
YAML
Raw Permalink Normal View History

2022-05-09 17:55:39 +02:00
version: '3'
services:
postfix:
image: boky/postfix
2022-10-17 18:05:07 +02:00
restart: unless-stopped
2022-05-09 17:55:39 +02:00
environment:
- RELAYHOST=${RELAYHOST}
- RELAYHOST_USERNAME=${RELAYHOST_USERNAME}
- RELAYHOST_PASSWORD=${RELAYHOST_PASSWORD}
- POSTFIX_smtp_tls_security_level=${POSTFIX_smtp_tls_security_level}
- ALLOWED_SENDER_DOMAINS=${ALLOWED_SENDER_DOMAINS}
2022-05-09 17:55:39 +02:00
- MASQUERADED_DOMAINS=${MASQUERADED_DOMAINS}
networks:
- smtp_relay
networks:
smtp_relay:
name: smtp_relay