default.yaml 24 KB

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