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