From 470101a2d144932960e9ec176ba18a8ce60ec95d Mon Sep 17 00:00:00 2001 From: Matt Date: Fri, 31 Oct 2025 20:40:07 +0100 Subject: [PATCH] Add SMTP environment variables to backend Docker container MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix for "Missing credentials for PLAIN" error when sending emails. The backend container was missing SMTP configuration environment variables, causing nodemailer authentication to fail. Added SMTP variables to docker-compose.yml: - SMTP_HOST, SMTP_PORT, SMTP_SECURE - SMTP_USER, SMTP_PASSWORD - SMTP_FROM_NAME, SMTP_FROM_EMAIL 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- docker-compose.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index df06bea..cf5d616 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -38,6 +38,13 @@ services: - WREN_API_TOKEN=${WREN_API_TOKEN} - WREN_DRY_RUN=${WREN_DRY_RUN:-false} - DATABASE_PATH=/app/data/orders.db + - SMTP_HOST=${SMTP_HOST} + - SMTP_PORT=${SMTP_PORT} + - SMTP_SECURE=${SMTP_SECURE} + - SMTP_USER=${SMTP_USER} + - SMTP_PASSWORD=${SMTP_PASSWORD} + - SMTP_FROM_NAME=${SMTP_FROM_NAME} + - SMTP_FROM_EMAIL=${SMTP_FROM_EMAIL} dns: - 8.8.8.8 - 8.8.4.4