From 12a20c7ee780739eb834bdf360f9903e7ba6a4ef Mon Sep 17 00:00:00 2001 From: David Rotermund Date: Fri, 12 Jul 2024 15:46:37 +0200 Subject: [PATCH] Create compose.yaml --- ubuntu/opensmtpd/compose.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 ubuntu/opensmtpd/compose.yaml diff --git a/ubuntu/opensmtpd/compose.yaml b/ubuntu/opensmtpd/compose.yaml new file mode 100644 index 0000000..af63986 --- /dev/null +++ b/ubuntu/opensmtpd/compose.yaml @@ -0,0 +1,20 @@ +services: + smtpd: + image: wodby/opensmtpd + container_name: smtpd + restart: always + volumes: + - "/root/opensmtpd/smtpd_pre.conf:/etc/gotpl/smtpd.conf.tmpl" + - "smtpd:/var/spool/smtpd" + ports: + - "25:25" + environment: + RELAY_HOST: "XXX" + RELAY_PROTO: "smtps" + RELAY_PORT: "XXX" + RELAY_USER: ${MAIL_USERNAME} + RELAY_PASSWORD: ${MAIL_PASSWORD} + network_mode: bridge + +volumes: + smtpd: