From 70ebc8d53c59e0e96de5dca25220c3f5be377136 Mon Sep 17 00:00:00 2001 From: David Rotermund Date: Sat, 29 Jun 2024 12:58:16 +0200 Subject: [PATCH] Create compose.yaml --- smtpd/compose.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 smtpd/compose.yaml diff --git a/smtpd/compose.yaml b/smtpd/compose.yaml new file mode 100644 index 0000000..5f53b7b --- /dev/null +++ b/smtpd/compose.yaml @@ -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: