Further amqp config

This commit is contained in:
Luke Murphy 2020-04-09 20:17:01 +02:00
parent 0f218b6666
commit 3ce87f57fd
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 5 additions and 2 deletions

View File

@ -8,7 +8,7 @@ timezone = Europe/London
key = {{ alerta_mailer_api_key }}
mail_to = {{ mail_to }}
mail_from = {{ mail_from }}
amqp_url = redis://localhost:6379/
amqp_url = mongodb://localhost:27017/
dashboard_url = http://localhost:8000
smtp_username = {{ smtp_username }}
smtp_password = {{ smtp_passwd }}

View File

@ -52,7 +52,10 @@ SEVERITY_MAP = {
DEFAULT_NORMAL_SEVERITY = "normal"
DEFAULT_PREVIOUS_SEVERITY = "indeterminate"
PLUGINS = ["reject", "blackout", "normalise"]
PLUGINS = ["reject", "blackout", "normalise", "amqp", "mailer"]
AMQP_URL = "mongodb://localhost:27017/kombu"
AMQP_TOPIC = "notify"
DATABASE_URL = "postgres://{{ db_user }}:{{ db_passwd }}@{{ db_loc }}/{{ db_name }}"
DATABASE_NAME = "{{ db_name }}"