-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.json
More file actions
69 lines (69 loc) · 1.42 KB
/
config.json
File metadata and controls
69 lines (69 loc) · 1.42 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"redis": {
"url": "redis://redis:6379",
"socket_timeout": 5
},
"database": {
"url": "postgresql://ytdlp_user:ytdlp_password@postgres:5432/ytdlp_api"
},
"auth": {
"jwt_secret": "change-me-secret-key",
"algorithm": "HS256",
"access_token_expire_minutes": 1440,
"sso_enabled": false,
"google_client_id": "",
"google_client_secret": "",
"admin_password": "admin"
},
"rate_limit": {
"enabled": true,
"max_requests": 5,
"window_seconds": 60
},
"download": {
"max_concurrent": 10,
"timeout_seconds": 3600,
"socket_timeout": 10,
"retries": 3,
"worker_pool_size": 4
},
"security": {
"enable_ssrf_protection": true,
"allow_private_ips": false,
"allow_localhost": false
},
"proxy": {
"enabled": false,
"urls": [],
"expose_list_endpoint": false
},
"ytdlp": {
"js_runtime": null,
"auto_detect_runtime": true,
"default_format": "best",
"default_audio_format": "opus",
"enable_live_streams": false,
"enable_gpu": false
},
"logging": {
"level": "INFO",
"format": "%(message)s",
"enable_rich": true
},
"i18n": {
"default_locale": "en",
"supported_locales": [
"en",
"ja"
]
},
"api": {
"title": "yt-dlp Streaming API",
"description": "Production-ready yt-dlp streaming API",
"version": "4.0.0",
"cors_origins": [
"*"
],
"debug": true
}
}