-
Notifications
You must be signed in to change notification settings - Fork 109
Expand file tree
/
Copy pathmta.yaml
More file actions
18 lines (18 loc) · 682 Bytes
/
mta.yaml
File metadata and controls
18 lines (18 loc) · 682 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
services:
# The Mail Transfer Agent (Postfix) receives incoming mail
# on TCP port 25.
mta:
image: jeboehm/mailserver-mta:latest
build:
context: ../../target/mta
cache_from:
- type=registry,ref=ghcr.io/jeboehm/mailserver-mta:buildcache
restart: on-failure:5
env_file: ../../.env
volumes:
- data-tls:/etc/postfix/tls:ro
- data-spool:/var/spool/postfix
# For using external certificates uncomment the following lines
# and change the path on the left side of the colon.
# - /home/user/certs/mail.example.com.crt:/etc/postfix/tls.crt:ro
# - /home/user/certs/mail.example.com.key:/etc/postfix/tls.key:ro