Add the queue for datanommer
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
d685f6da09
commit
499ff17f5e
2 changed files with 21 additions and 1 deletions
|
@ -11,6 +11,14 @@
|
|||
roles:
|
||||
- role: rabbit/user
|
||||
username: "datanommer{{ env_suffix }}"
|
||||
- role: rabbit/queue
|
||||
username: "datanommer{{ env_suffix }}"
|
||||
queue_name: "datanommer{{ env_suffix }}"
|
||||
routing_keys:
|
||||
- "#"
|
||||
thresholds:
|
||||
warning: 50
|
||||
critical: 500
|
||||
|
||||
- role: openshift/project
|
||||
app: datanommer
|
||||
|
|
|
@ -17,7 +17,19 @@ keyfile = "/etc/pki/fedora-messaging/datanommer-key.pem"
|
|||
certfile = "/etc/pki/fedora-messaging/datanommer-cert.pem"
|
||||
|
||||
[client_properties]
|
||||
app = "Datanommer"
|
||||
app = "datanommer"
|
||||
app_url = "https://github.com/fedora-infra/datanommer"
|
||||
|
||||
[queues.datanommer{{ env_suffix }}]
|
||||
durable = true
|
||||
auto_delete = false
|
||||
exclusive = false
|
||||
arguments = {}
|
||||
|
||||
[[bindings]]
|
||||
queue = "datanommer{{ env_suffix }}"
|
||||
exchange = "amq.topic"
|
||||
routing_keys = ["#"]
|
||||
|
||||
[consumer_config]
|
||||
datanommer_sqlalchemy_url = 'postgresql://{{ datanommerDBUser }}:{{ datanommerDBPassword }}@db-datanommer01{{ env_suffix }}.iad2.fedoraproject.org/datanommer2'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue