mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-26 11:36:10 +08:00
14 lines
410 B
Python
14 lines
410 B
Python
import config
|
|
import constants
|
|
|
|
{% if env == 'staging' %}
|
|
SQLALCHEMY_DATABASE_URI = 'postgres://{{modernpaste_stg_db_user}}:{{modernpaste_stg_db_password}}@db01/modernpaste'
|
|
{% else %}
|
|
SQLALCHEMY_DATABASE_URI = 'postgres://{{modernpaste_db_user}}:{{modernpaste_db_password}}@db01/modernpaste'
|
|
{% endif %}
|
|
|
|
SQLALCHEMY_TRACK_MODIFICATIONS = False
|
|
|
|
# Flask session secret key
|
|
SECRET_KEY = config.FLASK_SECRET_KEY
|