]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - config/production.yaml.example
Merge branch 'release/4.3.0' into develop
[github/Chocobozzz/PeerTube.git] / config / production.yaml.example
1 listen:
2 hostname: '127.0.0.1'
3 port: 9000
4
5 # Correspond to your reverse proxy server_name/listen configuration (i.e., your public PeerTube instance URL)
6 webserver:
7 https: true
8 hostname: 'example.com'
9 port: 443
10
11 # Secrets you need to generate the first time you run PeerTube
12 secrets:
13 # Generate one using `openssl rand -hex 32`
14 peertube: ''
15
16 rates_limit:
17 api:
18 # 50 attempts in 10 seconds
19 window: 10 seconds
20 max: 50
21 login:
22 # 15 attempts in 5 min
23 window: 5 minutes
24 max: 15
25 signup:
26 # 2 attempts in 5 min (only succeeded attempts are taken into account)
27 window: 5 minutes
28 max: 2
29 ask_send_email:
30 # 3 attempts in 5 min
31 window: 5 minutes
32 max: 3
33 receive_client_log:
34 # 10 attempts in 10 min
35 window: 10 minutes
36 max: 10
37
38 # Proxies to trust to get real client IP
39 # If you run PeerTube just behind a local proxy (nginx), keep 'loopback'
40 # If you run PeerTube behind a remote proxy, add the proxy IP address (or subnet)
41 trust_proxy:
42 - 'loopback'
43
44 # Your database name will be database.name OR 'peertube'+database.suffix
45 database:
46 hostname: 'localhost'
47 port: 5432
48 ssl: false
49 suffix: '_prod'
50 username: 'peertube'
51 password: 'peertube'
52 pool:
53 max: 5
54
55 # Redis server for short time storage
56 # You can also specify a 'socket' path to a unix socket but first need to
57 # set 'hostname' and 'port' to null
58 redis:
59 hostname: 'localhost'
60 port: 6379
61 auth: null
62 db: 0
63
64 # SMTP server to send emails
65 smtp:
66 # smtp or sendmail
67 transport: smtp
68 # Path to sendmail command. Required if you use sendmail transport
69 sendmail: null
70 hostname: null
71 port: 465 # If you use StartTLS: 587
72 username: null
73 password: null
74 tls: true # If you use StartTLS: false
75 disable_starttls: false
76 ca_file: null # Used for self signed certificates
77 from_address: 'admin@example.com'
78
79 email:
80 body:
81 signature: 'PeerTube'
82 subject:
83 prefix: '[PeerTube]'
84
85 # Update default PeerTube values
86 # Set by API when the field is not provided and put as default value in client
87 defaults:
88 # Change default values when publishing a video (upload/import/go Live)
89 publish:
90 download_enabled: true
91
92 comments_enabled: true
93
94 # public = 1, unlisted = 2, private = 3, internal = 4
95 privacy: 1
96
97 # CC-BY = 1, CC-SA = 2, CC-ND = 3, CC-NC = 4, CC-NC-SA = 5, CC-NC-ND = 6, Public Domain = 7
98 # You can also choose a custom licence value added by a plugin
99 # No licence by default
100 licence: null
101
102 p2p:
103 # Enable P2P by default in PeerTube client
104 # Can be enabled/disabled by anonymous users and logged in users
105 webapp:
106 enabled: true
107
108 # Enable P2P by default in PeerTube embed
109 # Can be enabled/disabled by URL option
110 embed:
111 enabled: true
112
113 # From the project root directory
114 storage:
115 tmp: '/var/www/peertube/storage/tmp/' # Use to download data (imports etc), store uploaded files before and during processing...
116 bin: '/var/www/peertube/storage/bin/'
117 avatars: '/var/www/peertube/storage/avatars/'
118 videos: '/var/www/peertube/storage/videos/'
119 streaming_playlists: '/var/www/peertube/storage/streaming-playlists/'
120 redundancy: '/var/www/peertube/storage/redundancy/'
121 logs: '/var/www/peertube/storage/logs/'
122 previews: '/var/www/peertube/storage/previews/'
123 thumbnails: '/var/www/peertube/storage/thumbnails/'
124 torrents: '/var/www/peertube/storage/torrents/'
125 captions: '/var/www/peertube/storage/captions/'
126 cache: '/var/www/peertube/storage/cache/'
127 plugins: '/var/www/peertube/storage/plugins/'
128 well_known: '/var/www/peertube/storage/well-known/'
129 # Overridable client files in client/dist/assets/images:
130 # - logo.svg
131 # - favicon.png
132 # - default-playlist.jpg
133 # - default-avatar-account.png
134 # - default-avatar-video-channel.png
135 # - and icons/*.png (PWA)
136 # Could contain for example assets/images/favicon.png
137 # If the file exists, peertube will serve it
138 # If not, peertube will fallback to the default file
139 client_overrides: '/var/www/peertube/storage/client-overrides/'
140
141 object_storage:
142 enabled: false
143
144 # Without protocol, will default to HTTPS
145 endpoint: '' # 's3.amazonaws.com' or 's3.fr-par.scw.cloud' for example
146
147 region: 'us-east-1'
148
149 # Set this ACL on each uploaded object
150 upload_acl: 'public-read'
151
152 credentials:
153 # You can also use AWS_ACCESS_KEY_ID env variable
154 access_key_id: ''
155 # You can also use AWS_SECRET_ACCESS_KEY env variable
156 secret_access_key: ''
157
158 # Maximum amount to upload in one request to object storage
159 max_upload_part: 100MB
160
161 streaming_playlists:
162 bucket_name: 'streaming-playlists'
163
164 # Allows setting all buckets to the same value but with a different prefix
165 prefix: '' # Example: 'streaming-playlists:'
166
167 # Base url for object URL generation, scheme and host will be replaced by this URL
168 # Useful when you want to use a CDN/external proxy
169 base_url: '' # Example: 'https://mirror.example.com'
170
171 # Same settings but for webtorrent videos
172 videos:
173 bucket_name: 'videos'
174 prefix: ''
175 base_url: ''
176
177 log:
178 level: 'info' # 'debug' | 'info' | 'warn' | 'error'
179
180 rotation:
181 enabled : true # Enabled by default, if disabled make sure that 'storage.logs' is pointing to a folder handled by logrotate
182 max_file_size: 12MB
183 max_files: 20
184
185 anonymize_ip: false
186
187 log_ping_requests: true
188 log_tracker_unknown_infohash: true
189
190 prettify_sql: false
191
192 # Accept warn/error logs coming from the client
193 accept_client_log: true
194
195 # Highly experimental support of Open Telemetry
196 open_telemetry:
197 metrics:
198 enabled: false
199
200 # Create a prometheus exporter server on this port so prometheus server can scrape PeerTube metrics
201 prometheus_exporter:
202 port: 9091
203
204 tracing:
205 enabled: false
206
207 # Send traces to a Jaeger compatible endpoint
208 jaeger_exporter:
209 endpoint: ''
210
211 trending:
212 videos:
213 interval_days: 7 # Compute trending videos for the last x days
214 algorithms:
215 enabled:
216 - 'hot' # adaptation of Reddit's 'Hot' algorithm
217 - 'most-viewed' # default, used initially by PeerTube as the trending page
218 - 'most-liked'
219 default: 'most-viewed'
220
221 # Cache remote videos on your server, to help other instances to broadcast the video
222 # You can define multiple caches using different sizes/strategies
223 # Once you have defined your strategies, choose which instances you want to cache in admin -> manage follows -> following
224 redundancy:
225 videos:
226 check_interval: '1 hour' # How often you want to check new videos to cache
227 strategies: # Just uncomment strategies you want
228 # -
229 # size: '10GB'
230 # # Minimum time the video must remain in the cache. Only accept values > 10 hours (to not overload remote instances)
231 # min_lifetime: '48 hours'
232 # strategy: 'most-views' # Cache videos that have the most views
233 # -
234 # size: '10GB'
235 # # Minimum time the video must remain in the cache. Only accept values > 10 hours (to not overload remote instances)
236 # min_lifetime: '48 hours'
237 # strategy: 'trending' # Cache trending videos
238 # -
239 # size: '10GB'
240 # # Minimum time the video must remain in the cache. Only accept values > 10 hours (to not overload remote instances)
241 # min_lifetime: '48 hours'
242 # strategy: 'recently-added' # Cache recently added videos
243 # min_views: 10 # Having at least x views
244
245 # Other instances that duplicate your content
246 remote_redundancy:
247 videos:
248 # 'nobody': Do not accept remote redundancies
249 # 'anybody': Accept remote redundancies from anybody
250 # 'followings': Accept redundancies from instance followings
251 accept_from: 'anybody'
252
253 csp:
254 enabled: false
255 report_only: true # CSP directives are still being tested, so disable the report only mode at your own risk!
256 report_uri:
257
258 security:
259 # Set the X-Frame-Options header to help to mitigate clickjacking attacks
260 frameguard:
261 enabled: true
262
263 tracker:
264 # If you disable the tracker, you disable the P2P on your PeerTube instance
265 enabled: true
266 # Only handle requests on your videos
267 # If you set this to false it means you have a public tracker
268 # Then, it is possible that clients overload your instance with external torrents
269 private: true
270 # Reject peers that do a lot of announces (could improve privacy of TCP/UDP peers)
271 reject_too_many_announces: false
272
273 history:
274 videos:
275 # If you want to limit users videos history
276 # -1 means there is no limitations
277 # Other values could be '6 months' or '30 days' etc (PeerTube will periodically delete old entries from database)
278 max_age: -1
279
280 views:
281 videos:
282 # PeerTube creates a database entry every hour for each video to track views over a period of time
283 # This is used in particular by the Trending page
284 # PeerTube could remove old remote video views if you want to reduce your database size (video view counter will not be altered)
285 # -1 means no cleanup
286 # Other values could be '6 months' or '30 days' etc (PeerTube will periodically delete old entries from database)
287 remote:
288 max_age: '30 days'
289
290 # PeerTube buffers local video views before updating and federating the video
291 local_buffer_update_interval: '30 minutes'
292
293 ip_view_expiration: '1 hour'
294
295 # Used to get country location of views of local videos
296 geo_ip:
297 enabled: true
298
299 country:
300 database_url: 'https://dbip.mirror.framasoft.org/files/dbip-country-lite-latest.mmdb'
301
302 plugins:
303 # The website PeerTube will ask for available PeerTube plugins and themes
304 # This is an unmoderated plugin index, so only install plugins/themes you trust
305 index:
306 enabled: true
307 check_latest_versions_interval: '12 hours' # How often you want to check new plugins/themes versions
308 url: 'https://packages.joinpeertube.org'
309
310 federation:
311 videos:
312 federate_unlisted: false
313
314 # Add a weekly job that cleans up remote AP interactions on local videos (shares, rates and comments)
315 # It removes objects that do not exist anymore, and potentially fix their URLs
316 cleanup_remote_interactions: true
317
318 peertube:
319 check_latest_version:
320 # Check and notify admins of new PeerTube versions
321 enabled: true
322 # You can use a custom URL if your want, that respect the format behind https://joinpeertube.org/api/v1/versions.json
323 url: 'https://joinpeertube.org/api/v1/versions.json'
324
325 webadmin:
326 configuration:
327 edition:
328 # Set this to false if you don't want to allow config edition in the web interface by instance admins
329 allowed: true
330
331 # XML, Atom or JSON feeds
332 feeds:
333 videos:
334 # Default number of videos displayed in feeds
335 count: 20
336
337 comments:
338 # Default number of comments displayed in feeds
339 count: 20
340
341 ###############################################################################
342 #
343 # From this point, almost all following keys can be overridden by the web interface
344 # (local-production.json file). If you need to change some values, prefer to
345 # use the web interface because the configuration will be automatically
346 # reloaded without any need to restart PeerTube
347 #
348 # /!\ If you already have a local-production.json file, modification of some of
349 # the following keys will have no effect /!\
350 #
351 ###############################################################################
352
353 cache:
354 previews:
355 size: 500 # Max number of previews you want to cache
356 captions:
357 size: 500 # Max number of video captions/subtitles you want to cache
358 torrents:
359 size: 500 # Max number of video torrents you want to cache
360
361 admin:
362 # Used to generate the root user at first startup
363 # And to receive emails from the contact form
364 email: 'admin@example.com'
365
366 contact_form:
367 enabled: true
368
369 signup:
370 enabled: false
371 limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
372 minimum_age: 16 # Used to configure the signup form
373 requires_email_verification: false
374 filters:
375 cidr: # You can specify CIDR ranges to whitelist (empty = no filtering) or blacklist
376 whitelist: []
377 blacklist: []
378
379 user:
380 # Default value of maximum video bytes the user can upload (does not take into account transcoded files)
381 # Byte format is supported ("1GB" etc)
382 # -1 == unlimited
383 video_quota: -1
384 video_quota_daily: -1
385
386 video_channels:
387 max_per_user: 20 # Allows each user to create up to 20 video channels.
388
389 # If enabled, the video will be transcoded to mp4 (x264) with `faststart` flag
390 # In addition, if some resolutions are enabled the mp4 video file will be transcoded to these new resolutions
391 # Please, do not disable transcoding since many uploaded videos will not work
392 transcoding:
393 enabled: true
394
395 # Allow your users to upload .mkv, .mov, .avi, .wmv, .flv, .f4v, .3g2, .3gp, .mts, m2ts, .mxf, .nut videos
396 allow_additional_extensions: true
397
398 # If a user uploads an audio file, PeerTube will create a video by merging the preview file and the audio file
399 allow_audio_files: true
400
401 # Amount of threads used by ffmpeg for 1 transcoding job
402 threads: 1
403 # Amount of transcoding jobs to execute in parallel
404 concurrency: 1
405
406 # Choose the transcoding profile
407 # New profiles can be added by plugins
408 # Available in core PeerTube: 'default'
409 profile: 'default'
410
411 resolutions: # Only created if the original video has a higher resolution, uses more storage!
412 0p: false # audio-only (creates mp4 without video stream, always created when enabled)
413 144p: false
414 240p: false
415 360p: false
416 480p: false
417 720p: false
418 1080p: false
419 1440p: false
420 2160p: false
421
422 # Transcode and keep original resolution, even if it's above your maximum enabled resolution
423 always_transcode_original_resolution: true
424
425 # Generate videos in a WebTorrent format (what we do since the first PeerTube release)
426 # If you also enabled the hls format, it will multiply videos storage by 2
427 # If disabled, breaks federation with PeerTube instances < 2.1
428 webtorrent:
429 enabled: false
430
431 # /!\ Requires ffmpeg >= 4.1
432 # Generate HLS playlists and fragmented MP4 files. Better playback than with WebTorrent:
433 # * Resolution change is smoother
434 # * Faster playback in particular with long videos
435 # * More stable playback (less bugs/infinite loading)
436 # If you also enabled the webtorrent format, it will multiply videos storage by 2
437 hls:
438 enabled: true
439
440 live:
441 enabled: false
442
443 # Limit lives duration
444 # -1 == unlimited
445 max_duration: -1 # For example: '5 hours'
446
447 # Limit max number of live videos created on your instance
448 # -1 == unlimited
449 max_instance_lives: 20
450
451 # Limit max number of live videos created by a user on your instance
452 # -1 == unlimited
453 max_user_lives: 3
454
455 # Allow your users to save a replay of their live
456 # PeerTube will transcode segments in a video file
457 # If the user daily/total quota is reached, PeerTube will stop the live
458 # /!\ transcoding.enabled (and not live.transcoding.enabled) has to be true to create a replay
459 allow_replay: true
460
461 # Allow your users to change latency settings (small latency/default/high latency)
462 # Small latency live streams cannot use P2P
463 # High latency live streams can increase P2P ratio
464 latency_setting:
465 enabled: true
466
467 # Your firewall should accept traffic from this port in TCP if you enable live
468 rtmp:
469 enabled: true
470
471 # Listening hostname/port for RTMP server
472 # '::' to listen on IPv6 and IPv4, '0.0.0.0' to listen on IPv4
473 # Use null to automatically listen on '::' if IPv6 is available, or '0.0.0.0' otherwise
474 hostname: null
475 port: 1935
476
477 # Public hostname of your RTMP server
478 # Use null to use the same value than `webserver.hostname`
479 public_hostname: null
480
481 rtmps:
482 enabled: false
483
484 # Listening hostname/port for RTMPS server
485 # '::' to listen on IPv6 and IPv4, '0.0.0.0' to listen on IPv4
486 # Use null to automatically listen on '::' if IPv6 is available, or '0.0.0.0' otherwise
487 hostname: null
488 port: 1936
489
490 # Absolute paths
491 key_file: ''
492 cert_file: ''
493
494 # Public hostname of your RTMPS server
495 # Use null to use the same value than `webserver.hostname`
496 public_hostname: null
497
498 # Allow to transcode the live streaming in multiple live resolutions
499 transcoding:
500 enabled: true
501 threads: 2
502
503 # Choose the transcoding profile
504 # New profiles can be added by plugins
505 # Available in core PeerTube: 'default'
506 profile: 'default'
507
508 resolutions:
509 144p: false
510 240p: false
511 360p: false
512 480p: false
513 720p: false
514 1080p: false
515 1440p: false
516 2160p: false
517
518 # Also transcode original resolution, even if it's above your maximum enabled resolution
519 always_transcode_original_resolution: true
520
521 video_studio:
522 # Enable video edition by users (cut, add intro/outro, add watermark etc)
523 # If enabled, users can create transcoding tasks as they wish
524 enabled: false
525
526 import:
527 # Add ability for your users to import remote videos (from YouTube, torrent...)
528 videos:
529 # Amount of import jobs to execute in parallel
530 concurrency: 1
531
532 # Set a custom video import timeout to not block import queue
533 timeout: '2 hours'
534
535 # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.html
536 http:
537 # We recommend to use a HTTP proxy if you enable HTTP import to prevent private URL access from this server
538 # See https://docs.joinpeertube.org/maintain-configuration?id=security for more information
539 enabled: false
540
541 youtube_dl_release:
542 # Direct download URL to youtube-dl binary
543 # Github releases API is also supported
544 # Examples:
545 # * https://api.github.com/repos/ytdl-org/youtube-dl/releases
546 # * https://api.github.com/repos/yt-dlp/yt-dlp/releases
547 # * https://yt-dl.org/downloads/latest/youtube-dl
548 url: 'https://api.github.com/repos/yt-dlp/yt-dlp/releases'
549
550 # Release binary name: 'yt-dlp' or 'youtube-dl'
551 name: 'yt-dlp'
552
553 # Path to the python binary to execute for youtube-dl or yt-dlp
554 python_path: '/usr/bin/python3'
555
556 # IPv6 is very strongly rate-limited on most sites supported by youtube-dl
557 force_ipv4: false
558
559 # Magnet URI or torrent file (use classic TCP/UDP/WebSeed to download the file)
560 torrent:
561 # We recommend to only enable magnet URI/torrent import if you trust your users
562 # See https://docs.joinpeertube.org/maintain-configuration?id=security for more information
563 enabled: false
564
565 # Add ability for your users to synchronize their channels with external channels, playlists, etc.
566 video_channel_synchronization:
567 enabled: false
568
569 max_per_user: 10
570
571 check_interval: 1 hour
572
573 # Number of latest published videos to check and to potentially import when syncing a channel
574 videos_limit_per_synchronization: 10
575
576 auto_blacklist:
577 # New videos automatically blacklisted so moderators can review before publishing
578 videos:
579 of_users:
580 enabled: false
581
582 # Instance settings
583 instance:
584 name: 'PeerTube'
585 short_description: 'PeerTube, an ActivityPub-federated video streaming platform using P2P directly in your web browser.'
586 description: 'Welcome to this PeerTube instance!' # Support markdown
587 terms: 'No terms for now.' # Support markdown
588 code_of_conduct: '' # Supports markdown
589
590 # Who moderates the instance? What is the policy regarding NSFW videos? Political videos? etc
591 moderation_information: '' # Supports markdown
592
593 # Why did you create this instance?
594 creation_reason: '' # Supports Markdown
595
596 # Who is behind the instance? A single person? A non profit?
597 administrator: '' # Supports Markdown
598
599 # How long do you plan to maintain this instance?
600 maintenance_lifetime: '' # Supports Markdown
601
602 # How will you pay the PeerTube instance server? With your own funds? With users donations? Advertising?
603 business_model: '' # Supports Markdown
604
605 # If you want to explain on what type of hardware your PeerTube instance runs
606 # Example: '2 vCore, 2GB RAM...'
607 hardware_information: '' # Supports Markdown
608
609 # What are the main languages of your instance? To interact with your users for example
610 # Uncomment or add the languages you want
611 # List of supported languages: https://peertube.cpy.re/api/v1/videos/languages
612 languages:
613 # - en
614 # - es
615 # - fr
616
617 # You can specify the main categories of your instance (dedicated to music, gaming or politics etc)
618 # Uncomment or add the category ids you want
619 # List of supported categories: https://peertube.cpy.re/api/v1/videos/categories
620 categories:
621 # - 1 # Music
622 # - 2 # Films
623 # - 3 # Vehicles
624 # - 4 # Art
625 # - 5 # Sports
626 # - 6 # Travels
627 # - 7 # Gaming
628 # - 8 # People
629 # - 9 # Comedy
630 # - 10 # Entertainment
631 # - 11 # News & Politics
632 # - 12 # How To
633 # - 13 # Education
634 # - 14 # Activism
635 # - 15 # Science & Technology
636 # - 16 # Animals
637 # - 17 # Kids
638 # - 18 # Food
639
640 default_client_route: '/videos/trending'
641
642 # Whether or not the instance is dedicated to NSFW content
643 # Enabling it will allow other administrators to know that you are mainly federating sensitive content
644 # Moreover, the NSFW checkbox on video upload will be automatically checked by default
645 is_nsfw: false
646 # By default, `do_not_list` or `blur` or `display` NSFW videos
647 # Could be overridden per user with a setting
648 default_nsfw_policy: 'do_not_list'
649
650 customizations:
651 javascript: '' # Directly your JavaScript code (without <script> tags). Will be eval at runtime
652 css: '' # Directly your CSS code (without <style> tags). Will be injected at runtime
653 # Robot.txt rules. To disallow robots to crawl your instance and disallow indexation of your site, add `/` to `Disallow:`
654 robots: |
655 User-agent: *
656 Disallow:
657 # /.well-known/security.txt rules. This endpoint is cached, so you may have to wait a few hours before viewing your changes
658 # To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string
659 securitytxt:
660 '# If you would like to report a security issue\n# you may report it to:\nContact: https://github.com/Chocobozzz/PeerTube/blob/develop/SECURITY.md\nContact: mailto:'
661
662 services:
663 # Cards configuration to format video in Twitter
664 twitter:
665 username: '@Chocobozzz' # Indicates the Twitter account for the website or platform on which the content was published
666 # If true, a video player will be embedded in the Twitter feed on PeerTube video share
667 # If false, we use an image link card that will redirect on your PeerTube instance
668 # Change it to `true`, and then test on https://cards-dev.twitter.com/validator to see if you are whitelisted
669 whitelisted: false
670
671 followers:
672 instance:
673 # Allow or not other instances to follow yours
674 enabled: true
675 # Whether or not an administrator must manually validate a new follower
676 manual_approval: false
677
678 followings:
679 instance:
680 # If you want to automatically follow back new instance followers
681 # If this option is enabled, use the mute feature instead of deleting followings
682 # /!\ Don't enable this if you don't have a reactive moderation team /!\
683 auto_follow_back:
684 enabled: false
685
686 # If you want to automatically follow instances of the public index
687 # If this option is enabled, use the mute feature instead of deleting followings
688 # /!\ Don't enable this if you don't have a reactive moderation team /!\
689 auto_follow_index:
690 enabled: false
691 # Host your own using https://framagit.org/framasoft/peertube/instances-peertube#peertube-auto-follow
692 index_url: ''
693
694 theme:
695 default: 'default'
696
697 broadcast_message:
698 enabled: false
699 message: '' # Support markdown
700 level: 'info' # 'info' | 'warning' | 'error'
701 dismissable: false
702
703 search:
704 # Add ability to fetch remote videos/actors by their URI, that may not be federated with your instance
705 # If enabled, the associated group will be able to "escape" from the instance follows
706 # That means they will be able to follow channels, watch videos, list videos of non followed instances
707 remote_uri:
708 users: true
709 anonymous: false
710
711 # Use a third party index instead of your local index, only for search results
712 # Useful to discover content outside of your instance
713 # If you enable search_index, you must enable remote_uri search for users
714 # If you do not enable remote_uri search for anonymous user, your instance will redirect the user on the origin instance
715 # instead of loading the video locally
716 search_index:
717 enabled: false
718 # URL of the search index, that should use the same search API and routes
719 # than PeerTube: https://docs.joinpeertube.org/api-rest-reference.html
720 # You should deploy your own with https://framagit.org/framasoft/peertube/search-index,
721 # and can use https://search.joinpeertube.org/ for tests, but keep in mind the latter is an unmoderated search index
722 url: ''
723 # You can disable local search, so users only use the search index
724 disable_local_search: false
725 # If you did not disable local search, you can decide to use the search index by default
726 is_default_search: false
727
728 # PeerTube client/interface configuration
729 client:
730 videos:
731 miniature:
732 # By default PeerTube client displays author username
733 prefer_author_display_name: false
734 display_author_avatar: false
735 resumable_upload:
736 # Max size of upload chunks, e.g. '90MB'
737 # If null, it will be calculated based on network speed
738 max_chunk_size: null
739
740 menu:
741 login:
742 # If you enable only one external auth plugin
743 # You can automatically redirect your users on this external platform when they click on the login button
744 redirect_on_single_external_auth: false