Create compose.yaml
This commit is contained in:
parent
f2a60726aa
commit
70ebc8d53c
1 changed files with 23 additions and 0 deletions
23
smtpd/compose.yaml
Normal file
23
smtpd/compose.yaml
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
services:
|
||||||
|
smtpd:
|
||||||
|
image: "wodby/opensmtpd"
|
||||||
|
container_name: "smtpd"
|
||||||
|
hostname: "smtpd"
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "25:25/tcp"
|
||||||
|
environment:
|
||||||
|
# I use a modified template. Thus gone...
|
||||||
|
RELAY_HOST: "XXX"
|
||||||
|
RELAY_PROTO: "smtps"
|
||||||
|
# I use a modified template. Thus gone...
|
||||||
|
RELAY_PORT: "XXX"
|
||||||
|
RELAY_USER: ${EMAIL_USERNAME}
|
||||||
|
RELAY_PASSWORD: ${EMAIL_PASSWORD}
|
||||||
|
volumes:
|
||||||
|
- "/root/smtpd/smtpd_pre.conf:/etc/gotpl/smtpd.conf.tmpl"
|
||||||
|
- "smtpd_spool:/var/spool/smtpd"
|
||||||
|
network_mode: bridge
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
smtpd_spool:
|
Loading…
Reference in a new issue