feat: add support for sending email to the docker image

This commit is contained in:
Emmanuel BENOîT 2025-01-02 16:54:24 +01:00
parent 31f5063a96
commit ea572cb82a
Signed by: Emmanuel BENOîT
SSH key fingerprint: SHA256:l7PFUUF5TCDsvYeQC9OnTNz08dFY7Fvf4Hv3neIqYpg
4 changed files with 62 additions and 4 deletions

View file

@ -1,10 +1,25 @@
# Password for the database superuser
DB_PASSWORD=...
# SMTP - Outgoing server
SMTP_HOST=smtp.example.org
# SMTP - Port number
SMTP_PORT=587
# SMTP - Enable TLS? (on/off)
SMTP_TLS=on
# SMTP - Authenticate to outgoing server? (on/off)
SMTP_AUTH=on
# SMTP - User name
SMTP_USER=...
# SMTP - Password
SMTP_PASSWORD=...
# URL of the static assets from an external perspective
LW_STATIC_URL=http://localhost/static
# Send email? (yes or no)
LW_SEND_MAIL=no
# Source address for LW mails
LW_MAIL_FROM=legacyworlds@example.org
# Legacyworlds database - Main user
LW_DB_USER_PASS=...