Flesh out more smtp config
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luke Murphy 2020-04-10 10:03:23 +02:00
parent 4b2f9b6ce6
commit e33d944796
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
3 changed files with 7 additions and 2 deletions

View File

@ -8,6 +8,7 @@ timezone = Europe/London
[alerta-mailer]
amqp_url = {{ db_type }}://{{ db_user }}:{{ db_passwd }}@{{ db_loc }}/kombu
dashboard_url = https://{{ domain }}
debug = True
email_type = text
endpoint = http://localhost:8080
@ -15,6 +16,8 @@ key = {{ alerta_mailer_api_key }}
mail_from = {{ mail_from }}
mail_to = {{ mail_to }}
skip_mta = False
smtp_host = {{ smtp_host }}
smtp_password = {{ smtp_passwd }}
smtp_port = {{ smtp_port }}
smtp_starttls = True
smtp_username = {{ smtp_username }}

View File

@ -68,8 +68,8 @@ DATABASE_NAME = "{{ db_name }}"
EMAIL_VERIFICATION = False
MAIL_FROM = "{{ mail_from }}"
SMTP_HOST = "mail.gandi.net"
SMTP_HOST = "{{ smtp_host }}"
SMTP_PASSWORD = "{{ smtp_passwd }}"
SMTP_PORT = "587"
SMTP_PORT = "{{ smtp_port }}"
SMTP_STARTTLS = True
SMTP_USERNAME = "{{ smtp_username }}"

View File

@ -12,4 +12,6 @@ keycloak_role: "worker-owner"
keycloak_url: "https://id.autonomic.zone"
mail_from: "alerta-noreply@autonomic.zon"
mail_to: "kaboom@autonomic.zone"
smtp_host: "mail.gandi.net"
smtp_username: "alerta-noreply"
smtp_port: "587"