From 526b956dc6e3543bf252602b27529a9e79f7ffab Mon Sep 17 00:00:00 2001 From: Evan Schleret Date: Sat, 27 Sep 2025 04:00:56 +0200 Subject: [PATCH] feat: Add mail environment variables to docmost.yaml --- templates/compose/docmost.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/templates/compose/docmost.yaml b/templates/compose/docmost.yaml index 8e982913c..4a996973e 100644 --- a/templates/compose/docmost.yaml +++ b/templates/compose/docmost.yaml @@ -19,6 +19,15 @@ services: - APP_URL=$SERVICE_URL_DOCMOST_3000 - DATABASE_URL=postgresql://$SERVICE_USER_POSTGRES:$SERVICE_PASSWORD_POSTGRES@postgresql/docmost?schema=public - REDIS_URL=redis://redis:6379 + - MAIL_DRIVER=${MAIL_DRIVER} + - SMTP_HOST=${SMTP_HOST} + - SMTP_PORT=${SMTP_PORT} + - SMTP_USERNAME=${SMTP_USERNAME} + - SMTP_PASSWORD=${SMTP_PASSWORD} + - SMTP_SECURE=${SMTP_SECURE} + - MAIL_FROM_ADDRESS=${MAIL_FROM_ADDRESS} + - MAIL_FROM_NAME=${MAIL_FROM_NAME} + - POSTMARK_TOKEN=${POSTMARK_TOKEN} volumes: - "docmost:/app/data/storage" healthcheck: