summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compose.yml7
-rw-r--r--smtp.Dockerfile4
2 files changed, 6 insertions, 5 deletions
diff --git a/compose.yml b/compose.yml
index 7bd8d93..dc91b78 100644
--- a/compose.yml
+++ b/compose.yml
@@ -23,12 +23,13 @@ services:
context: .
dockerfile: smtp.Dockerfile
args:
- LOCAL_SMTP_PORT: $LOCAL_SMTP_PORT
+ SMTP_PORT: 2500
env_file:
- .env
environment:
- SMTP_PORT: $LOCAL_SMTP_PORT
- SMTP_PASSWORD: $LOCAL_SMTP_PORT
+ SMTP_PORT: 2500
+ SMTP_USER: smtp
+ SMTP_PASSWORD: smtp
REMOTE_SMTP_PASSWORD_FILE: /run/secrets/remote_smtp_password
secrets:
- remote_smtp_password
diff --git a/smtp.Dockerfile b/smtp.Dockerfile
index 87c4914..d615479 100644
--- a/smtp.Dockerfile
+++ b/smtp.Dockerfile
@@ -1,5 +1,5 @@
FROM git.joeac.net/joeac/armv7/msmtp:1.8.32-alpine3.23
RUN apk --no-cache add gettext gnutls
-ARG LOCAL_SMTP_PORT
-EXPOSE $LOCAL_SMTP_PORT
+ARG SMTP_PORT
+EXPOSE $SMTP_PORT
COPY smtp/.msmtprc ./