X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=config%2Fdefault.yaml;h=2c1b9c64f208e10f13fe35a0cdfd520d6fce214c;hb=17d85f48b51ef7dad747f7471c8237320e40e2a4;hp=017b63e498efc59b4c1c9845045142e948d18ec9;hpb=ec2fa0d0b1d290f6c8de257fa7f1e2e3f28b8dfa;p=github%2FChocobozzz%2FPeerTube.git diff --git a/config/default.yaml b/config/default.yaml index 017b63e49..2c1b9c64f 100644 --- a/config/default.yaml +++ b/config/default.yaml @@ -174,14 +174,30 @@ log: max_files: 20 anonymize_ip: false log_ping_requests: true + log_tracker_unknown_infohash: true prettify_sql: false +# Highly experimental support of Open Telemetry +open_telemetry: + metrics: + enabled: false + + # Create a prometheus exporter server on this port so prometheus server can scrape PeerTube metrics + prometheus_exporter: + port: 9091 + + tracing: + enabled: false + + # Send traces to a Jaeger compatible endpoint + jaeger_exporter: + endpoint: '' + trending: videos: interval_days: 7 # Compute trending videos for the last x days algorithms: enabled: - - 'best' # adaptation of Reddit's 'Best' algorithm (Hot minus History) - 'hot' # adaptation of Reddit's 'Hot' algorithm - 'most-viewed' # default, used initially by PeerTube as the trending page - 'most-liked' @@ -297,6 +313,16 @@ webadmin: # Set this to false if you don't want to allow config edition in the web interface by instance admins allowed: true +# XML, Atom or JSON feeds +feeds: + videos: + # Default number of videos displayed in feeds + count: 20 + + comments: + # Default number of comments displayed in feeds + count: 20 + cache: previews: size: 500 # Max number of previews you want to cache @@ -411,17 +437,33 @@ live: # Your firewall should accept traffic from this port in TCP if you enable live rtmp: enabled: true + + # Listening hostname/port for RTMP server + # '::' to listen on IPv6 and IPv4, '0.0.0.0' to listen on IPv4 + # Use null to automatically listen on '::' if IPv6 is available, or '0.0.0.0' otherwise + hostname: null port: 1935 - hostname: 'localhost' + + # Public hostname of your RTMP server + # Use null to use the same value than `webserver.hostname` + public_hostname: null rtmps: enabled: false + + # Listening hostname/port for RTMPS server + # '::' to listen on IPv6 and IPv4, '0.0.0.0' to listen on IPv4 + # Use null to automatically listen on '::' if IPv6 is available, or '0.0.0.0' otherwise + hostname: null port: 1936 - # Absolute path + + # Absolute paths key_file: '' - # Absolute path cert_file: '' - hostname: 'localhost' + + # Public hostname of your RTMPS server + # Use null to use the same value than `webserver.hostname` + public_hostname: null # Allow to transcode the live streaming in multiple live resolutions transcoding: @@ -445,6 +487,7 @@ live: video_studio: # Enable video edition by users (cut, add intro/outro, add watermark etc) + # If enabled, users can create transcoding tasks as they wish enabled: false import: @@ -453,6 +496,9 @@ import: # Amount of import jobs to execute in parallel concurrency: 1 + # Set a custom video import timeout to not block import queue + timeout: '2 hours' + # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.html http: # We recommend to use a HTTP proxy if you enable HTTP import to prevent private URL access from this server @@ -465,11 +511,11 @@ import: # Examples: # * https://api.github.com/repos/ytdl-org/youtube-dl/releases # * https://api.github.com/repos/yt-dlp/yt-dlp/releases - url: 'https://yt-dl.org/downloads/latest/youtube-dl' + # * https://yt-dl.org/downloads/latest/youtube-dl + url: 'https://api.github.com/repos/yt-dlp/yt-dlp/releases' - # youtube-dl binary name - # yt-dlp is also supported - name: 'youtube-dl' + # Release binary name: 'yt-dlp' or 'youtube-dl' + name: 'yt-dlp' # Path to the python binary to execute for youtube-dl or yt-dlp python_path: '/usr/bin/python3'