In staging, datanommer uses db01.stg
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
62a1744fcb
commit
6b738addbb
1 changed files with 4 additions and 0 deletions
|
@ -1,5 +1,9 @@
|
||||||
# Configuration for the datanommer consumer. A plugin for the fedmsg-hub process.
|
# Configuration for the datanommer consumer. A plugin for the fedmsg-hub process.
|
||||||
config = {
|
config = {
|
||||||
'datanommer.enabled': True,
|
'datanommer.enabled': True,
|
||||||
|
{% if env == "production" %}
|
||||||
'datanommer.sqlalchemy.url': 'postgresql://{{ datanommerDBUser }}:{{ datanommerDBPassword }}@db-datanommer02/datanommer',
|
'datanommer.sqlalchemy.url': 'postgresql://{{ datanommerDBUser }}:{{ datanommerDBPassword }}@db-datanommer02/datanommer',
|
||||||
|
{% else %}
|
||||||
|
'datanommer.sqlalchemy.url': 'postgresql://{{ datanommerDBUser }}:{{ datanommerDBPassword }}@db01.stg/datanommer',
|
||||||
|
{% endif %}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue