aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/production.yaml.example
diff options
context:
space:
mode:
Diffstat (limited to 'config/production.yaml.example')
-rw-r--r--config/production.yaml.example34
1 files changed, 27 insertions, 7 deletions
diff --git a/config/production.yaml.example b/config/production.yaml.example
index 0fb6ababc..bd01375cd 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -373,6 +373,12 @@ feeds:
373 # Default number of comments displayed in feeds 373 # Default number of comments displayed in feeds
374 count: 20 374 count: 20
375 375
376remote_runners:
377 # Consider jobs that are processed by a remote runner as stalled after this period of time without any update
378 stalled_jobs:
379 live: '30 seconds'
380 vod: '2 minutes'
381
376############################################################################### 382###############################################################################
377# 383#
378# From this point, almost all following keys can be overridden by the web interface 384# From this point, almost all following keys can be overridden by the web interface
@@ -443,12 +449,18 @@ transcoding:
443 # If a user uploads an audio file, PeerTube will create a video by merging the preview file and the audio file 449 # If a user uploads an audio file, PeerTube will create a video by merging the preview file and the audio file
444 allow_audio_files: true 450 allow_audio_files: true
445 451
446 # Amount of threads used by ffmpeg for 1 transcoding job 452 # Enable remote runners to transcode your videos
453 # If enabled, your instance won't transcode the videos itself
454 # At least 1 remote runner must be configured to transcode your videos
455 remote_runners:
456 enabled: false
457
458 # Amount of threads used by ffmpeg for 1 local transcoding job
447 threads: 1 459 threads: 1
448 # Amount of transcoding jobs to execute in parallel 460 # Amount of local transcoding jobs to execute in parallel
449 concurrency: 1 461 concurrency: 1
450 462
451 # Choose the transcoding profile 463 # Choose the local transcoding profile
452 # New profiles can be added by plugins 464 # New profiles can be added by plugins
453 # Available in core PeerTube: 'default' 465 # Available in core PeerTube: 'default'
454 profile: 'default' 466 profile: 'default'
@@ -543,9 +555,17 @@ live:
543 # Allow to transcode the live streaming in multiple live resolutions 555 # Allow to transcode the live streaming in multiple live resolutions
544 transcoding: 556 transcoding:
545 enabled: true 557 enabled: true
558
559 # Enable remote runners to transcode your videos
560 # If enabled, your instance won't transcode the videos itself
561 # At least 1 remote runner must be configured to transcode your videos
562 remote_runners:
563 enabled: false
564
565 # Amount of threads used by ffmpeg per live when using local transcoding
546 threads: 2 566 threads: 2
547 567
548 # Choose the transcoding profile 568 # Choose the local transcoding profile
549 # New profiles can be added by plugins 569 # New profiles can be added by plugins
550 # Available in core PeerTube: 'default' 570 # Available in core PeerTube: 'default'
551 profile: 'default' 571 profile: 'default'
@@ -607,7 +627,7 @@ import:
607 # See https://docs.joinpeertube.org/maintain/configuration#security for more information 627 # See https://docs.joinpeertube.org/maintain/configuration#security for more information
608 enabled: false 628 enabled: false
609 629
610 # Add ability for your users to synchronize their channels with external channels, playlists, etc. 630 # Add ability for your users to synchronize their channels with external channels, playlists, etc
611 video_channel_synchronization: 631 video_channel_synchronization:
612 enabled: false 632 enabled: false
613 633
@@ -768,9 +788,9 @@ search:
768 # You should deploy your own with https://framagit.org/framasoft/peertube/search-index, 788 # You should deploy your own with https://framagit.org/framasoft/peertube/search-index,
769 # and can use https://search.joinpeertube.org/ for tests, but keep in mind the latter is an unmoderated search index 789 # and can use https://search.joinpeertube.org/ for tests, but keep in mind the latter is an unmoderated search index
770 url: '' 790 url: ''
771 # You can disable local search, so users only use the search index 791 # You can disable local search in the client, so users only use the search index
772 disable_local_search: false 792 disable_local_search: false
773 # If you did not disable local search, you can decide to use the search index by default 793 # If you did not disable local search in the client, you can decide to use the search index by default
774 is_default_search: false 794 is_default_search: false
775 795
776# PeerTube client/interface configuration 796# PeerTube client/interface configuration