-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.toml
52 lines (43 loc) · 1.34 KB
/
settings.toml
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
41
42
43
44
45
46
47
48
49
50
51
52
[default]
SQLALCHEMY_DATABASE_URI="" # Setting this to avoid warnings
DB_USER="postgres"
DB_PASSWORD=""
DB_HOST="db"
DB_NAME="human_factor"
SQLALCHEMY_TRACK_MODIFICATIONS=false
STATIC_BUCKET="staging.static.thehumanfactor.ai"
BUCKET_SOURCE_PREFIX="source/"
BUCKET_VIDEO_PREFIX="video/"
BUCKET_STILL_PREFIX="still/"
BUCKET_THUMB_PREFIX="thumb/"
JWT_SECRET_KEY="fake-secret"
JWT_BLACKLIST_ENABLED=true
JWT_BLACKLIST_TOKEN_CHECKS="refresh"
PROPAGATE_EXCEPTIONS=true
ALLOWED_ORIGINS="*"
GIT_COMMIT_SHA="local"
FFMPEG_DEFAULT_CRF="25" # Matches webm quality from Alex's Chrome
FFMPEG_DEFAULT_SPEED="slower"
STILL_THUMBNAIL_WIDTH=200
ENCODING_TASK_TIMEOUT=600
REDIS_PORT=6379
REDIS_DB=0
JWT_EXPIRATION_MINUTES=15
JWT_REFRESH_EXPIRATION_HOURS=720 # hours per 30 days
[development]
DB_HOST="db"
REDIS_HOST="redis"
JWT_EXPIRATION_MINUTES=5256000 # 10 years
JWT_REFRESH_EXPIRATION_HOURS=87600 # 10 years
[testing]
GIT_COMMIT_SHA="test"
REDIS_HOST="redis"
[staging]
GIT_COMMIT_SHA="{{GIT_COMMIT_SHA}}"
SENTRY_DSN="https://e58d119f6182413798cd669a8a46ddc9@sentry.io/1494502"
REDIS_HOST="staging-redis-master.staging.svc.cluster.local"
[production]
STATIC_BUCKET="production.static.thehumanfactor.ai"
GIT_COMMIT_SHA="{{GIT_COMMIT_SHA}}"
SENTRY_DSN="https://e58d119f6182413798cd669a8a46ddc9@sentry.io/1494502"
REDIS_HOST="production-redis-master.production.svc.cluster.local"