From e4581f9f7a9a2b1db956953adfd3491feb78713f Mon Sep 17 00:00:00 2001 From: JuliusFreudenberger Date: Mon, 9 May 2022 17:55:39 +0200 Subject: [PATCH] Add smtp-relay --- smtp-relay/README.md | 4 ++++ smtp-relay/docker-compose.yaml | 15 +++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 smtp-relay/README.md create mode 100644 smtp-relay/docker-compose.yaml diff --git a/smtp-relay/README.md b/smtp-relay/README.md new file mode 100644 index 0000000..fc18d89 --- /dev/null +++ b/smtp-relay/README.md @@ -0,0 +1,4 @@ +# smtp-relay + + Simple postfix relay host for your Docker containers. Based on Alpine Linux. + diff --git a/smtp-relay/docker-compose.yaml b/smtp-relay/docker-compose.yaml new file mode 100644 index 0000000..99e2fa1 --- /dev/null +++ b/smtp-relay/docker-compose.yaml @@ -0,0 +1,15 @@ +version: '3' +services: + postfix: + image: boky/postfix + environment: + - RELAYHOST=${RELAYHOST} + - RELAYHOST_USERNAME=${RELAYHOST_USERNAME} + - RELAYHOST_PASSWORD=${RELAYHOST_PASSWORD} + - MASQUERADED_DOMAINS=${MASQUERADED_DOMAINS} + networks: + - smtp_relay + +networks: + smtp_relay: + name: smtp_relay