default.yaml 24 KB

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