Config options for the latest tahrir.

This commit is contained in:
Ralph Bean 2013-07-11 18:29:15 +00:00
parent 422a3b2e4e
commit 3cab344751

View file

@ -22,22 +22,33 @@ sqlalchemy.url = postgresql://${tahrirDBUser}:${tahrirDBPassword}@db-tahrir/tahr
mako.directories=tahrir:templates
tahrir.admin = rbean@redhat.com
tahrir.admin = ralph@fedoraproject.org, oddshocks@fedoraproject.org
tahrir.pngs.uri = /usr/share/tahrir/pngs
dogpile.cache.backend = dogpile.cache.memcached
dogpile.cache.expiration_time = 10000
dogpile.cache.arguments.url = memcached03:11211
dogpile.cache.arguments.distributed_lock = True
{% if env == 'staging' %}
tahrir.title = Fedora Badges (staging!)
tahrir.base_url = badges.stg.fedoraproject.org
tahrir.openid_identifier = http://id.stg.fedoraproject.org
tahrir.openid_realm = https://apps.stg.fedoraproject.org/badges
{% else %}
tahrir.title = Fedora Badges
tahrir.base_url = badges.fedoraproject.org
tahrir.openid_identifier = https://id.fedoraproject.org
tahrir.openid_realm = https://apps.fedoraproject.org/badges
{% endif %}
# This is temporary, and should be removed once we have tahrir 0.2.0 in place
tahrir.salt=beefy
# Only allow @fedoraproject.org emails
tahrir.use_openid_email = False
session.secret="${tahrirSessionSecret}"
authnsecret="${tahrirAuthnSecret}"