Try to wire up kombu amqp driver
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Luke Murphy 2020-04-10 09:49:38 +02:00
parent a1b7dc912e
commit a30cb1a938
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 4 additions and 1 deletions

View File

@ -7,7 +7,7 @@ sslverify = False
timezone = Europe/London timezone = Europe/London
[alerta-mailer] [alerta-mailer]
amqp_url = "{{ db_type }}://{{ db_user }}:{{ db_passwd }}@{{ db_loc }}" amqp_url = "{{ db_type }}://{{ db_user }}:{{ db_passwd }}@{{ db_loc }}/kombu"
debug = True debug = True
email_type = text email_type = text
endpoint = http://localhost:8080 endpoint = http://localhost:8080

View File

@ -60,6 +60,9 @@ PLUGINS = [
"reject", "reject",
] ]
AMQP_URL = "{{ db_type }}://{{ db_user }}:{{ db_passwd }}@{{ db_loc }}/kombu"
AMQP_TOPIC = "notify"
DATABASE_URL = "{{ db_type }}://{{ db_user }}:{{ db_passwd }}@{{ db_loc }}/{{ db_name }}" DATABASE_URL = "{{ db_type }}://{{ db_user }}:{{ db_passwd }}@{{ db_loc }}/{{ db_name }}"
DATABASE_NAME = "{{ db_name }}" DATABASE_NAME = "{{ db_name }}"