diff options
Diffstat (limited to 'config/default.yaml')
-rw-r--r-- | config/default.yaml | 74 |
1 files changed, 72 insertions, 2 deletions
diff --git a/config/default.yaml b/config/default.yaml index dfba23f59..5ebfdeddb 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -69,7 +69,7 @@ email: | |||
69 | 69 | ||
70 | # From the project root directory | 70 | # From the project root directory |
71 | storage: | 71 | storage: |
72 | tmp: 'storage/tmp/' # Used to download data (imports etc), store uploaded files before processing... | 72 | tmp: 'storage/tmp/' # Use to download data (imports etc), store uploaded files before processing... |
73 | avatars: 'storage/avatars/' | 73 | avatars: 'storage/avatars/' |
74 | videos: 'storage/videos/' | 74 | videos: 'storage/videos/' |
75 | streaming_playlists: 'storage/streaming-playlists/' | 75 | streaming_playlists: 'storage/streaming-playlists/' |
@@ -85,7 +85,7 @@ storage: | |||
85 | log: | 85 | log: |
86 | level: 'info' # debug/info/warning/error | 86 | level: 'info' # debug/info/warning/error |
87 | rotation: | 87 | rotation: |
88 | enabled : true # Enabled by default, if disabled make sure that 'storage.logs' is pointing to a folder handled by logrotate | 88 | enabled : true |
89 | 89 | ||
90 | search: | 90 | search: |
91 | # Add ability to fetch remote videos/actors by their URI, that may not be federated with your instance | 91 | # Add ability to fetch remote videos/actors by their URI, that may not be federated with your instance |
@@ -238,7 +238,60 @@ instance: | |||
238 | short_description: 'PeerTube, a federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular.' | 238 | short_description: 'PeerTube, a federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular.' |
239 | description: 'Welcome to this PeerTube instance!' # Support markdown | 239 | description: 'Welcome to this PeerTube instance!' # Support markdown |
240 | terms: 'No terms for now.' # Support markdown | 240 | terms: 'No terms for now.' # Support markdown |
241 | code_of_conduct: '' # Supports markdown | ||
242 | |||
243 | # Who moderates the instance? What is the policy regarding NSFW videos? Political videos? etc | ||
244 | moderation_information: '' # Supports markdown | ||
245 | |||
246 | # Why did you create this instance? | ||
247 | creation_reason: '' | ||
248 | |||
249 | # Who is behind the instance? A single person? A non profit? | ||
250 | administrator: '' | ||
251 | |||
252 | # How long do you plan to maintain this instance? | ||
253 | maintenance_lifetime: '' | ||
254 | |||
255 | # How will you pay the PeerTube instance server? With you own funds? With users donations? Advertising? | ||
256 | business_model: '' | ||
257 | |||
258 | # If you want to explain on what type of hardware your PeerTube instance runs | ||
259 | # Example: "2 vCore, 2GB RAM..." | ||
260 | hardware_information: '' # Supports Markdown | ||
261 | |||
262 | # What are the main languages of your instance? To interact with your users for example | ||
263 | # Uncomment or add the languages you want | ||
264 | # List of supported languages: https://peertube.cpy.re/api/v1/videos/languages | ||
265 | languages: | ||
266 | # - en | ||
267 | # - es | ||
268 | # - fr | ||
269 | |||
270 | # You can specify the main categories of your instance (dedicated to music, gaming or politics etc) | ||
271 | # Uncomment or add the category ids you want | ||
272 | # List of supported categories: https://peertube.cpy.re/api/v1/videos/categories | ||
273 | categories: | ||
274 | # - 1 # Music | ||
275 | # - 2 # Films | ||
276 | # - 3 # Vehicles | ||
277 | # - 4 # Art | ||
278 | # - 5 # Sports | ||
279 | # - 6 # Travels | ||
280 | # - 7 # Gaming | ||
281 | # - 8 # People | ||
282 | # - 9 # Comedy | ||
283 | # - 10 # Entertainment | ||
284 | # - 11 # News & Politics | ||
285 | # - 12 # How To | ||
286 | # - 13 # Education | ||
287 | # - 14 # Activism | ||
288 | # - 15 # Science & Technology | ||
289 | # - 16 # Animals | ||
290 | # - 17 # Kids | ||
291 | # - 18 # Food | ||
292 | |||
241 | default_client_route: '/videos/trending' | 293 | default_client_route: '/videos/trending' |
294 | |||
242 | # Whether or not the instance is dedicated to NSFW content | 295 | # Whether or not the instance is dedicated to NSFW content |
243 | # Enabling it will allow other administrators to know that you are mainly federating sensitive content | 296 | # Enabling it will allow other administrators to know that you are mainly federating sensitive content |
244 | # Moreover, the NSFW checkbox on video upload will be automatically checked by default | 297 | # Moreover, the NSFW checkbox on video upload will be automatically checked by default |
@@ -246,6 +299,7 @@ instance: | |||
246 | # By default, "do_not_list" or "blur" or "display" NSFW videos | 299 | # By default, "do_not_list" or "blur" or "display" NSFW videos |
247 | # Could be overridden per user with a setting | 300 | # Could be overridden per user with a setting |
248 | default_nsfw_policy: 'do_not_list' | 301 | default_nsfw_policy: 'do_not_list' |
302 | |||
249 | customizations: | 303 | customizations: |
250 | javascript: '' # Directly your JavaScript code (without <script> tags). Will be eval at runtime | 304 | javascript: '' # Directly your JavaScript code (without <script> tags). Will be eval at runtime |
251 | css: '' # Directly your CSS code (without <style> tags). Will be injected at runtime | 305 | css: '' # Directly your CSS code (without <style> tags). Will be injected at runtime |
@@ -273,5 +327,21 @@ followers: | |||
273 | # Whether or not an administrator must manually validate a new follower | 327 | # Whether or not an administrator must manually validate a new follower |
274 | manual_approval: false | 328 | manual_approval: false |
275 | 329 | ||
330 | followings: | ||
331 | instance: | ||
332 | # If you want to automatically follow back new instance followers | ||
333 | # Only follows accepted followers (in case you enabled manual followers approbation) | ||
334 | # If this option is enabled, use the mute feature instead of deleting followings | ||
335 | # /!\ Don't enable this if you don't have a reactive moderation team /!\ | ||
336 | auto_follow_back: | ||
337 | enabled: false | ||
338 | |||
339 | # If you want to automatically follow instances of the public index | ||
340 | # If this option is enabled, use the mute feature instead of deleting followings | ||
341 | # /!\ Don't enable this if you don't have a reactive moderation team /!\ | ||
342 | auto_follow_index: | ||
343 | enabled: false | ||
344 | index_url: 'https://instances.joinpeertube.org' | ||
345 | |||
276 | theme: | 346 | theme: |
277 | default: 'default' | 347 | default: 'default' |