diff --git a/alerta.conf.tmpl b/alerta.conf.tmpl index 115b9e0..4bd3d8d 100644 --- a/alerta.conf.tmpl +++ b/alerta.conf.tmpl @@ -13,14 +13,14 @@ config_file = /app/alerta.conf dashboard_url = https://{{ env "DOMAIN" }} debug = {{ env "DEBUG" }} email_type = text -endpoint = http://web:8080 -key = "{{ secret "mailer_api_key" }}" +endpoint = http://web:8080/api +key = {{ secret "mailer_api_key" }} mail_from = {{ env "MAIL_FROM" }} mail_template = /app/email.tmpl mail_to = {{ env "MAIL_TO" }} skip_mta = False smtp_host = {{ env "SMTP_HOST" }} -smtp_username = {{ env "MAIL_FROM" }} -smtp_password = "{{ secret "smtp_password" }}" +smtp_password = {{ secret "smtp_password" }} smtp_port = {{ env "SMTP_PORT" }} smtp_starttls = {{ env "SMTP_STARTTLS" }} +smtp_username = {{ env "MAIL_FROM" }}