From 760473d6014916ffbf30836b98e0d8ed5a14b47a Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Mon, 11 Jan 2021 13:35:23 +0100 Subject: [PATCH] Fix URLs and password parsing once and for all --- alerta.conf.tmpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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" }}