Make badges-frontend in staging use the proper dburl

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
Ryan Lercho 2021-10-14 08:22:41 +10:00
parent a868b7e226
commit 70a596155f

View file

@ -27,7 +27,11 @@ pyramid.default_locale_name = en
pyramid.includes = pyramid.includes =
pyramid_tm pyramid_tm
{% if env == 'staging' %}
sqlalchemy.url = postgresql://{{tahrirDBUser}}:{{tahrirDBPassword}}@db01.stg.iad2.fedoraproject.org/tahrir
{% else %}
sqlalchemy.url = postgresql://{{tahrirDBUser}}:{{tahrirDBPassword}}@db-tahrir/tahrir sqlalchemy.url = postgresql://{{tahrirDBUser}}:{{tahrirDBPassword}}@db-tahrir/tahrir
{% endif %}
mako.directories=tahrir:templates mako.directories=tahrir:templates