Add MAIL_FROM env variable (#949)

Co-authored-by: Roman Tyshyk <roman.tyshyk@711media.de>
This commit is contained in:
Roman
2024-01-16 06:53:03 +01:00
committed by GitHub
parent 44905d36e5
commit 621967d2b6
5 changed files with 7 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ services:
- SMTP_PORT=${SMTP_PORT:-587} # For sending verification emails, if unspecified then defaults to '587'
- SMTP_USER=${SMTP_USER:-}
- SMTP_PASS=${SMTP_PASS:-}
- MAIL_FROM=${MAIL_FROM:-}
# Gen AI Settings
- GEN_AI_MODEL_PROVIDER=${GEN_AI_MODEL_PROVIDER:-openai}
- GEN_AI_MODEL_VERSION=${GEN_AI_MODEL_VERSION:-gpt-3.5-turbo}

View File

@@ -47,6 +47,8 @@ SECRET=
# The below are only needed if you aren't using gmail as your SMTP
#SMTP_SERVER=
#SMTP_PORT=
# when missing SMTP_USER used instead
#MAIL_FROM=
# OpenID Connect (OIDC)
#OPENID_CONFIG_URL=

View File

@@ -11,6 +11,7 @@ data:
SMTP_PORT: "" # For sending verification emails, if unspecified then defaults to '587'
SMTP_USER: "" # 'your-email@company.com'
SMTP_PASS: "" # 'your-gmail-password'
MAIL_FROM: "" # 'your-email@company.com' SMTP_USER missing used instead
# Gen AI Settings
GEN_AI_MODEL_PROVIDER: "openai"
GEN_AI_MODEL_VERSION: "gpt-3.5-turbo" # Use GPT-4 if you have it