aboutsummaryrefslogtreecommitdiffstats
path: root/config.env.example
blob: fb0f820b855ce6cbf4aa59634802ada60baba5ef (plain)
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
53
54
55
56
#
# yt-local options
#

APP_PUBLIC=True
APP_URL=http://example.org

ROUTE_TOR=0
TOR_PORT=9050
TOR_CONTROL_PORT=9151

PORT_NUMBER=8080

ALLOW_FOREIGN_ADDRESSES=True

SUBTITLES_MODE=0
SUBTITLES_LANG='en'

RELATED_VIDEOS_MODE=1

COMMENTS_MODE=1
ENABLE_COMMENTS_AVATARS=True
DEFAULT_COMMENT_SORTING=0

THEATER_MODE=True
DEFAULT_RESOLUTION=720

USE_VIDEO_PLAYER=2
PROXY_IMAGES=True
USE_COMMENTS_JS=True
USE_SPONSORBLOCK_JS=False

THEME=1
FONT=1

EMBED_PAGE_MODE=True
AUTOCHECK_SUBSCRIPTIONS=True

# debug
GATHER_GOOGLEVIDEO_DOMAINS=False
DEBUGGING_SAVE_RESPONSES=False

#
# Tor options
#

MAX_CIRCUIT=500 # seconds
CIRCUIT_TIMEOUT=500 # seconds
URL_CHECK=https://www.youtube.com/results?search_query=rms

#
# Gunicorn options
#

GUNICORN_NUM_WORKERS=4
GUNICORN_TIMEOUT=120