17 lines
444 B
YAML
17 lines
444 B
YAML
|
|
# postfix — outbound mail relay only (no inbound, no published port)
|
||
|
|
# Networks: app
|
||
|
|
|
||
|
|
services:
|
||
|
|
postfix:
|
||
|
|
image: boky/postfix:4.2.0
|
||
|
|
restart: unless-stopped
|
||
|
|
networks: [app]
|
||
|
|
environment:
|
||
|
|
RELAYHOST: ${POSTFIX_RELAYHOST}
|
||
|
|
ALLOWED_SENDER_DOMAINS: ${POSTFIX_FROM_DOMAIN}
|
||
|
|
TZ: ${TZ:-Europe/Amsterdam}
|
||
|
|
# No 'ports:' — outbound only. Internal services hit smtp://postfix:25 on the app network.
|
||
|
|
|
||
|
|
networks:
|
||
|
|
app:
|