]>
Commit | Line | Data |
---|---|---|
8c308c2b | 1 | listen: |
87bc58e1 | 2 | hostname: '0.0.0.0' |
8c308c2b C |
3 | port: 9000 |
4 | ||
5 | webserver: | |
6 | https: false | |
7 | ||
c1340a6a C |
8 | rates_limit: |
9 | signup: | |
10 | window: 10 minutes | |
11 | max: 50 | |
12 | login: | |
13 | window: 5 minutes | |
14 | max: 20 | |
8ed86e76 C |
15 | api: |
16 | window: 10 seconds | |
17 | max: 500 | |
c1340a6a | 18 | |
8c308c2b | 19 | database: |
3737bbaf | 20 | hostname: 'localhost' |
feb4bdfd | 21 | port: 5432 |
e22528ac | 22 | |
2284f202 C |
23 | redis: |
24 | hostname: 'localhost' | |
25 | ||
f076daa7 C |
26 | smtp: |
27 | hostname: null | |
28 | port: 1025 | |
29 | tls: false | |
bebf2d89 | 30 | disable_starttls: true |
31b5a255 | 31 | from_address: 'test-admin@localhost' |
f076daa7 C |
32 | username: null |
33 | password: null | |
34 | ||
a0922eb9 C |
35 | log: |
36 | level: 'debug' | |
37 | ||
a4101923 C |
38 | contact_form: |
39 | enabled: true | |
529f0372 | 40 | |
32a18cbf C |
41 | peertube: |
42 | check_latest_version: | |
43 | enabled: false | |
44 | ||
529f0372 C |
45 | redundancy: |
46 | videos: | |
47 | check_interval: '1 minute' | |
48 | strategies: | |
49 | - | |
50 | size: '1000MB' | |
51 | min_lifetime: '10 minutes' | |
52 | strategy: 'most-views' | |
53 | - | |
54 | size: '1000MB' | |
55 | min_lifetime: '10 minutes' | |
56 | strategy: 'trending' | |
57 | - | |
58 | size: '1000MB' | |
59 | min_lifetime: '10 minutes' | |
60 | strategy: 'recently-added' | |
61 | min_views: 1 | |
c48e82b5 | 62 | |
f842e810 C |
63 | cache: |
64 | previews: | |
65 | size: 1 | |
66 | captions: | |
67 | size: 1 | |
b3d5cb92 C |
68 | torrents: |
69 | size: 1 | |
f842e810 | 70 | |
e22528ac C |
71 | signup: |
72 | enabled: true | |
d9eaee39 | 73 | requires_email_verification: false |
aa8b6df4 C |
74 | |
75 | transcoding: | |
a22bfc3e | 76 | enabled: true |
14e2014a | 77 | allow_additional_extensions: false |
536598cf | 78 | allow_audio_files: false |
a22bfc3e | 79 | threads: 2 |
9129b769 | 80 | concurrency: 2 |
1125c40a | 81 | resolutions: |
3a149e9f | 82 | 0p: false |
8dd754c7 | 83 | 144p: false |
1125c40a C |
84 | 240p: true |
85 | 360p: true | |
86 | 480p: true | |
87 | 720p: true | |
88 | 1080p: true | |
b7085c71 | 89 | 1440p: true |
ad3405d0 | 90 | 2160p: true |
6a882428 C |
91 | webtorrent: |
92 | enabled: true | |
09209296 C |
93 | hls: |
94 | enabled: true | |
0883b324 | 95 | |
c6c0fa6c C |
96 | live: |
97 | enabled: false | |
98 | ||
3258fa55 C |
99 | allow_replay: false |
100 | ||
c6c0fa6c C |
101 | rtmp: |
102 | port: 1935 | |
103 | ||
104 | transcoding: | |
fb719404 | 105 | enabled: false |
c6c0fa6c C |
106 | threads: 2 |
107 | ||
108 | resolutions: | |
8dd754c7 | 109 | 144p: false |
c6c0fa6c C |
110 | 240p: false |
111 | 360p: false | |
112 | 480p: false | |
113 | 720p: false | |
114 | 1080p: false | |
b7085c71 | 115 | 1440p: false |
c6c0fa6c C |
116 | 2160p: false |
117 | ||
5d08a6a7 C |
118 | import: |
119 | videos: | |
9129b769 | 120 | concurrency: 2 |
5d08a6a7 C |
121 | http: |
122 | enabled: true | |
a84b8fa5 C |
123 | torrent: |
124 | enabled: true | |
5d08a6a7 | 125 | |
0883b324 | 126 | instance: |
6040f87d | 127 | default_nsfw_policy: 'display' |
41b15c89 C |
128 | |
129 | plugins: | |
130 | index: | |
131 | check_latest_versions_interval: '10 minutes' | |
5fb2e288 C |
132 | |
133 | search: | |
134 | # Add ability to fetch remote videos/actors by their URI, that may not be federated with your instance | |
135 | # If enabled, the associated group will be able to "escape" from the instance follows | |
136 | # That means they will be able to follow channels, watch videos, list videos of non followed instances | |
137 | remote_uri: | |
138 | users: true | |
139 | anonymous: false | |
140 | ||
141 | # Use a third party index instead of your local index, only for search results | |
142 | # Useful to discover content outside of your instance | |
143 | search_index: | |
3b0bd70a | 144 | enabled: false |
5fb2e288 C |
145 | # URL of the search index, that should use the same search API and routes |
146 | # than PeerTube: https://docs.joinpeertube.org/api-rest-reference.html | |
147 | # You should deploy your own with https://framagit.org/framasoft/peertube/search-index, | |
148 | # and can use https://search.joinpeertube.org/ for tests, but keep in mind the latter is an unmoderated search index | |
149 | url: 'http://localhost:3234' | |
150 | # You can disable local search, so users only use the search index | |
151 | disable_local_search: false | |
152 | # If you did not disable local search, you can decide to use the search index by default | |
153 | is_default_search: true | |
a25507f6 C |
154 | |
155 | federation: | |
156 | videos: | |
157 | federate_unlisted: true | |
ca87d95b | 158 | cleanup_remote_interactions: false |
413b9729 C |
159 | |
160 | views: | |
161 | videos: | |
162 | remote: | |
163 | max_age: -1 | |
51353d9a C |
164 | |
165 | local_buffer_update_interval: '5 seconds' | |
166 | ip_view_expiration: '1 second' |