mediawiki: Add $wgFedoraBadgesDSN
Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
parent
d8fbcc780a
commit
ad494b28e4
1 changed files with 3 additions and 0 deletions
|
@ -529,6 +529,9 @@ $wgOpenIDConnectAPI_Issuer = 'https://id{{ env_suffix }}.fedoraproject.org/openi
|
|||
$wgOpenIDConnectAPI_TokenInfoURL = "https://id{{ env_suffix }}.fedoraproject.org/openidc/TokenInfo";
|
||||
$wgOpenIDConnectAPI_TokenScope = "https://fedoraproject.org/wiki/api";
|
||||
|
||||
# Badges DSN to talk to tahrir db (readonly user)
|
||||
$wgFedoraBadgesDSN = 'pgsql:host=db01;port=5432;dbname=tahrir;user={{tahrir_ro_user}};password={{tahrir_ro_pass}}';
|
||||
|
||||
# Fixed for OIDC redirect url generation
|
||||
{% if env == "staging" %}
|
||||
$_SERVER['HTTP_HOST'] = 'stg.fedoraproject.org';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue