Setup SMTP account
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luke Murphy 2020-04-09 18:29:33 +02:00
parent 72e72a0406
commit aca1ae7395
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
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'

View File

@ -0,0 +1,8 @@
---
smtp_passwd: !vault |
$ANSIBLE_VAULT;1.1;AES256
63363435653931383333353934663266336231346465333934303964353435353330303865376361
3033346166353266663037376164663465306633643530340a383564383038306563633736623430
64386330303863336539346461653332346233303538613465613363356532376137623439616132
3563613431363738620a653339633765313564633639383366383236656635353737633031323466
64393064623139333661633361306531626532613562643465336561303536333632