Correct the database URLs for badges-backend in staging
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
parent
5c709e38e5
commit
f561217bdf
2 changed files with 8 additions and 1 deletions
|
@ -13,8 +13,11 @@ config = {
|
|||
"badges_global": {
|
||||
|
||||
# This is a sqlalchemy URI that points to the tahrir DB.
|
||||
{% if env == 'staging' %}
|
||||
"database_uri": "postgresql://{{tahrirDBUser}}:{{tahrirDBPassword}}@db01.stg.iad2.fedoraproject.org/tahrir",
|
||||
{% else %}
|
||||
"database_uri": "postgresql://{{tahrirDBUser}}:{{tahrirDBPassword}}@db-tahrir/tahrir",
|
||||
|
||||
{% endif %}
|
||||
# This is a set of data that tells our consumer what Open Badges Issuer
|
||||
# should be kept as the issuer of all the badges we create.
|
||||
"badge_issuer": dict(
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
config = {
|
||||
{% if env == "staging" %}
|
||||
'datanommer.sqlalchemy.url': 'postgresql://{{datanommerDBUser}}:{{datanommerDBPassword}}@db-datanommer.stg.iad2.fedoraproject.org/datanommer',
|
||||
{% else %}
|
||||
'datanommer.sqlalchemy.url': 'postgresql://{{datanommerDBUser}}:{{datanommerDBPassword}}@db-datanommer/datanommer',
|
||||
{% endif %}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue