forked from kkamkou/gitmostwanted.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstance.cfg.distr
40 lines (35 loc) · 924 Bytes
/
instance.cfg.distr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# flask
SECRET_KEY = 'secret_key'
# SQLAlchemy
SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://gitmostwanted:gitmostwanted_pwd@gmw_db/gitmostwanted?charset=utf8mb4'
# celery
CELERY_URL_BROKER = 'redis://gmw_redis:6379/0',
CELERY_URL_BACKEND = 'redis://gmw_redis:6379/0'
# oauth
GITHUB_OAUTH = {
'client_id': None,
'client_secret': None,
'access_token_url': 'https://github.com/login/oauth/access_token',
'authorize_url': 'https://github.com/login/oauth/authorize',
'api_base_url': 'https://api.github.com/'
}
# google
GOOGLE_BIGQUERY = {
'json_key_path': None,
'project_id': None
}
# sentry.io
SENTRY_IO = {
'celery': {
'dsn': 'https://[email protected]/1234567890',
'configuration': {
'debug': False
}
},
'sqlalchemy': {
'dsn': 'https://[email protected]/1234567890'
},
'flask': {
'dsn': 'https://[email protected]/1234567890'
}
}