Setup SMTP account
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Luke Murphy
2020-04-09 18:29:33 +02:00
parent 72e72a0406
commit aca1ae7395
2 changed files with 14 additions and 9 deletions

View File

@ -58,12 +58,9 @@ DATABASE_URL = "postgres://{{ db_user }}:{{ db_passwd }}@{{ db_loc }}/{{ db_name
DATABASE_NAME = "{{ db_name }}"
EMAIL_VERIFICATION = False
# Note(decentral1se): enable once we have mail addresses
# https://docs.alerta.io/en/latest/configuration.html#email-settings
# MAIL_FROM = 'TODO'
# SMTP_HOST = 'TODO'
# SMTP_PASSWORD = 'TODO'
# SMTP_PORT = 'TODO'
# SMTP_STARTTLS = 'TODO'
#https://github.com/alerta/alerta/issues/1180 SMTP_USERNAME = 'TODO'
MAIL_FROM = "alerta-noreply@autonomic.zone"
SMTP_HOST = "mail.gandi.net"
SMTP_PASSWORD = "{{ smtp_passwd }}"
SMTP_PORT = "587"
SMTP_STARTTLS = True
SMTP_USERNAME = 'alerta-noreply'