In staging, datanommer uses db01.stg

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2016-11-30 10:30:59 +00:00
parent 62a1744fcb
commit 6b738addbb

View file

@ -1,5 +1,9 @@
# Configuration for the datanommer consumer. A plugin for the fedmsg-hub process.
config = {
'datanommer.enabled': True,
{% if env == "production" %}
'datanommer.sqlalchemy.url': 'postgresql://{{ datanommerDBUser }}:{{ datanommerDBPassword }}@db-datanommer02/datanommer',
{% else %}
'datanommer.sqlalchemy.url': 'postgresql://{{ datanommerDBUser }}:{{ datanommerDBPassword }}@db01.stg/datanommer',
{% endif %}
}