Enable email service
By default, emails are not enabled and email verification for users is disabled. To enable the email service, specify the following parameters under the dataloreEnv
key in the datalore.values.yaml file:
MAIL_SENDER_EMAIL
: sender's emailMAIL_SENDER_NAME
: sender's nameMAIL_SENDER_USERNAME
: username of SMTP userMAIL_SENDER_PASSWORD
: password of SMTP userMAIL_SMTP_SERVER
: SMTP server hostMAIL_SMTP_PORT
: SMTP server portMAIL_ENABLE_STARTTLS
: set totrue
if your SMTP server requires STARTTLS
If you want to disable email verification while having enabled emails, you can explicitly set the FORCE_EMAIL_VERIFICATION
property to false
.
Example
dataloreEnv:
...
MAIL_SMTP_SERVER: "email-smtp.your_domain.com"
MAIL_SMTP_PORT: "465"
MAIL_SENDER_USERNAME: "email_user"
MAIL_SENDER_PASSWORD: "pa$$w0rd"
MAIL_SENDER_EMAIL: "no_reply.datalore@you_domain.com"
MAIL_SENDER_NAME: "Datalore Team"
FORCE_EMAIL_VERIFICATION: "false"
Last modified: 28 November 2023