From 544ede2ae7e62b40f659a24c85ac2184e634e366 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Thu, 9 Apr 2020 20:51:14 +0200 Subject: [PATCH] Use 127 syntax and fix mongodb database name --- ansible/templates/alerta.conf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ansible/templates/alerta.conf b/ansible/templates/alerta.conf index dd15901..40da5fa 100644 --- a/ansible/templates/alerta.conf +++ b/ansible/templates/alerta.conf @@ -1,15 +1,16 @@ [DEFAULT] -endpoint = http://localhost:8080/api +endpoint = http://127.0.0.1:8080/api key = {{ alerta_cli_api_key }} output = psql sslverify = no timezone = Europe/London [alerta-mailer] -amqp_url = mongodb://0.0.0.0:27017/ -dashboard_url = http://localhost:8080 +amqp_url = mongodb://127.0.0.1:27017/kombu +dashboard_url = http://127.0.0.1:8080 debug = true email_type = text +endpoint = http://127.0.0.1:8080/api key = {{ alerta_mailer_api_key }} mail_from = {{ mail_from }} mail_to = {{ mail_to }}