ansible/roles/anitya/backend/templates/anitya_admin.cfg
2015-02-04 15:34:31 +01:00

29 lines
856 B
INI

# Beware that the quotes around the values are mandatory
### Secret key for the Flask application
SECRET_KEY='{{ anitya_secret_key }}'
### url to the database server:
#DB_URL=mysql://user:pass@host/db_name
#DB_URL=postgres://user:pass@host/db_name
DB_URL='postgresql://{{ anitya_db_admin_user }}:{{ anitya_db_admin_pass }}@{{ anitya_db_host }}/{{ anitya_db_name }}'
# List of admins based on their openid
CNUCNU_WEB_ADMINS = [
'http://ralph.id.fedoraproject.org/',
'http://pingou.id.fedoraproject.org/',
]
# Fedora OpenID endpoint
{% if env == 'staging' %}
CNUCNU_WEB_FEDORA_OPENID = 'https://id.stg.fedoraproject.org'
{% else %}
CNUCNU_WEB_FEDORA_OPENID = 'https://id.fedoraproject.org'
{% endif %}
# This is required to fix login
PREFERRED_URL_SCHEME='https'
# Make browsers send session cookie only via HTTPS
SESSION_COOKIE_SECURE = True