]>
Commit | Line | Data |
---|---|---|
1 | listen: | |
2 | hostname: '0.0.0.0' | |
3 | port: 9000 | |
4 | ||
5 | webserver: | |
6 | https: false | |
7 | ||
8 | rates_limit: | |
9 | signup: | |
10 | window: 10 minutes | |
11 | max: 50 | |
12 | login: | |
13 | window: 5 minutes | |
14 | max: 20 | |
15 | api: | |
16 | window: 10 seconds | |
17 | max: 500 | |
18 | ||
19 | database: | |
20 | hostname: 'localhost' | |
21 | port: 5432 | |
22 | ||
23 | smtp: | |
24 | hostname: null | |
25 | port: 1025 | |
26 | tls: false | |
27 | disable_starttls: true | |
28 | from_address: 'test-admin@localhost' | |
29 | username: null | |
30 | password: null | |
31 | ||
32 | log: | |
33 | level: 'debug' | |
34 | ||
35 | contact_form: | |
36 | enabled: true | |
37 | ||
38 | redundancy: | |
39 | videos: | |
40 | check_interval: '10 minutes' | |
41 | strategies: | |
42 | - | |
43 | size: '10MB' | |
44 | min_lifetime: '10 minutes' | |
45 | strategy: 'most-views' | |
46 | - | |
47 | size: '10MB' | |
48 | min_lifetime: '10 minutes' | |
49 | strategy: 'trending' | |
50 | - | |
51 | size: '10MB' | |
52 | min_lifetime: '10 minutes' | |
53 | strategy: 'recently-added' | |
54 | min_views: 1 | |
55 | ||
56 | cache: | |
57 | previews: | |
58 | size: 1 | |
59 | captions: | |
60 | size: 1 | |
61 | ||
62 | signup: | |
63 | enabled: true | |
64 | requires_email_verification: false | |
65 | ||
66 | transcoding: | |
67 | enabled: true | |
68 | allow_additional_extensions: false | |
69 | allow_audio_files: false | |
70 | threads: 2 | |
71 | resolutions: | |
72 | 240p: true | |
73 | 360p: true | |
74 | 480p: true | |
75 | 720p: true | |
76 | 1080p: true | |
77 | 2160p: true | |
78 | hls: | |
79 | enabled: true | |
80 | ||
81 | import: | |
82 | videos: | |
83 | http: | |
84 | enabled: true | |
85 | torrent: | |
86 | enabled: true | |
87 | ||
88 | instance: | |
89 | default_nsfw_policy: 'display' |