add copr.conf
This commit is contained in:
parent
fe702d32ea
commit
cecfac8454
1 changed files with 30 additions and 0 deletions
30
files/copr/fe/copr.conf
Normal file
30
files/copr/fe/copr.conf
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
# Directory and files where is stored Copr database files
|
||||||
|
DATA_DIR = '/var/lib/copr/data'
|
||||||
|
DATABASE = '/var/lib/copr/data/copr.db'
|
||||||
|
OPENID_STORE = '/var/lib/copr/data/openid_store'
|
||||||
|
WHOOSHEE_DIR = '/var/lib/copr/data/whooshee'
|
||||||
|
|
||||||
|
SECRET_KEY = {{ copr_secret_key }}
|
||||||
|
BACKEND_PASSWORD = {{ copr_backend_password }}
|
||||||
|
|
||||||
|
# restrict access to a set of users
|
||||||
|
#USE_ALLOWED_USERS = False
|
||||||
|
#ALLOWED_USERS = ['bonnie', 'clyde']
|
||||||
|
|
||||||
|
SQLALCHEMY_DATABASE_URI = {{ copr_database_uri }}
|
||||||
|
|
||||||
|
# Token length, defaults to 30 (max 255)
|
||||||
|
#API_TOKEN_LENGTH = 30
|
||||||
|
|
||||||
|
# Expiration of API token in days
|
||||||
|
#API_TOKEN_EXPIRATION = 180
|
||||||
|
|
||||||
|
# logging options
|
||||||
|
#SEND_LOGS_TO = ['root@localhost']
|
||||||
|
#LOGGING_LEVEL = logging.ERROR
|
||||||
|
|
||||||
|
DEBUG = False
|
||||||
|
SQLALCHEMY_ECHO = False
|
||||||
|
|
||||||
|
CSRF_ENABLED = True
|
||||||
|
WTF_CSRF_ENABLED = True
|
Loading…
Add table
Add a link
Reference in a new issue