diff --git a/peertube/Chart.yaml b/peertube/Chart.yaml index 2922d5d..7de96b1 100644 --- a/peertube/Chart.yaml +++ b/peertube/Chart.yaml @@ -5,11 +5,11 @@ dependencies: - condition: postgresql.enabled name: postgresql repository: https://charts.bitnami.com/bitnami - version: 12.2.2 + version: 13.2.21 - condition: redis.enabled name: redis repository: https://charts.bitnami.com/bitnami - version: 17.8.2 + version: 18.4.0 type: application -version: 0.2.2 -appVersion: 5.2.0 +version: 0.3.0 +appVersion: 6.0.1 diff --git a/peertube/charts/postgresql-12.2.2.tgz b/peertube/charts/postgresql-12.2.2.tgz deleted file mode 100644 index 3ffe869..0000000 Binary files a/peertube/charts/postgresql-12.2.2.tgz and /dev/null differ diff --git a/peertube/charts/postgresql-13.2.21.tgz b/peertube/charts/postgresql-13.2.21.tgz new file mode 100644 index 0000000..9c97bd3 Binary files /dev/null and b/peertube/charts/postgresql-13.2.21.tgz differ diff --git a/peertube/charts/redis-17.8.2.tgz b/peertube/charts/redis-17.8.2.tgz deleted file mode 100644 index bf718c1..0000000 Binary files a/peertube/charts/redis-17.8.2.tgz and /dev/null differ diff --git a/peertube/charts/redis-18.4.0.tgz b/peertube/charts/redis-18.4.0.tgz new file mode 100644 index 0000000..991cded Binary files /dev/null and b/peertube/charts/redis-18.4.0.tgz differ diff --git a/peertube/values.yaml b/peertube/values.yaml index e2f6d10..ac31a52 100644 --- a/peertube/values.yaml +++ b/peertube/values.yaml @@ -8,7 +8,7 @@ image: repository: chocobozzz/peertube pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: "v5.2.0-bullseye" + tag: "v6.0.1-bookworm" imagePullSecrets: [] nameOverride: "" @@ -50,6 +50,26 @@ configAsCode: # 10 attempts in 10 min window: 10 minutes max: 10 + plugins: + # 500 attempts in 10 seconds (we also serve plugin static files) + window: 10 seconds + max: 500 + well_known: + # 200 attempts in 10 seconds + window: 10 seconds + max: 200 + feeds: + # 50 attempts in 10 seconds + window: 10 seconds + max: 50 + activity_pub: + # 500 attempts in 10 seconds (we can have many AP requests) + window: 10 seconds + max: 500 + client: # HTML files generated by PeerTube + # 500 attempts in 10 seconds (to not break crawlers) + window: 10 seconds + max: 500 oauth2: token_lifetime: access_token: '1 day' @@ -136,12 +156,13 @@ configAsCode: tmp_persistent: '/var/www/peertube/storage/tmp-persistent/' # As tmp but the directory is not cleaned up between PeerTube restarts bin: '/var/www/peertube/storage/bin/' avatars: '/var/www/peertube/storage/avatars/' - videos: '/var/www/peertube/storage/videos/' + web_videos: '/var/www/peertube/storage/web-videos/' streaming_playlists: '/var/www/peertube/storage/streaming-playlists/' redundancy: '/var/www/peertube/storage/redundancy/' logs: '/var/www/peertube/storage/logs/' previews: '/var/www/peertube/storage/previews/' thumbnails: '/var/www/peertube/storage/thumbnails/' + storyboards: '/var/www/peertube/storage/storyboards/' torrents: '/var/www/peertube/storage/torrents/' captions: '/var/www/peertube/storage/captions/' cache: '/var/www/peertube/storage/cache/' @@ -194,9 +215,9 @@ configAsCode: # Base url for object URL generation, scheme and host will be replaced by this URL # Useful when you want to use a CDN/external proxy base_url: '' # Example: 'https://mirror.example.com' - # Same settings but for webtorrent videos - videos: - bucket_name: 'videos' + # Same settings but for web videos + web_videos: + bucket_name: 'web-videos' prefix: '' base_url: '' log: @@ -208,6 +229,8 @@ configAsCode: anonymize_ip: false log_ping_requests: true log_tracker_unknown_infohash: true + # If you have many concurrent requests, you can disable HTTP requests logging to reduce PeerTube CPU load + log_http_requests: true prettify_sql: false # Accept warn/error logs coming from the client accept_client_log: true @@ -224,6 +247,7 @@ configAsCode: hostname: '127.0.0.1' port: 9091 tracing: + # If tracing is enabled, you must provide --experimental-loader=@opentelemetry/instrumentation/hook.mjs flag to the node binary enabled: false # Send traces to a Jaeger compatible endpoint jaeger_exporter: @@ -319,6 +343,8 @@ configAsCode: check_latest_versions_interval: '12 hours' # How often you want to check new plugins/themes versions url: 'https://packages.joinpeertube.org' federation: + # Some federated software such as Mastodon may require an HTTP signature to access content + sign_federated_fetches: true videos: federate_unlisted: false # Add a weekly job that cleans up remote AP interactions on local videos (shares, rates and comments) @@ -350,6 +376,13 @@ configAsCode: stalled_jobs: live: '30 seconds' vod: '2 minutes' + thumbnails: + # When automatically generating a thumbnail from the video + generation_from_video: + # How many frames to analyze at the middle of the video to select the most appropriate one + # Increasing this value will increase CPU and memory usage when generating the thumbnail, especially for high video resolution + # Minimum value is 2 + frames_to_analyze: 50 ############################################################################### # # From this point, all the following keys can be overridden by the web interface @@ -371,6 +404,8 @@ configAsCode: size: 500 # Max number of video captions/subtitles you want to cache torrents: size: 500 # Max number of video torrents you want to cache + storyboards: + size: 500 # Max number of video storyboards you want to cache admin: # Used to generate the root user at first startup # And to receive emails from the contact form @@ -397,6 +432,7 @@ configAsCode: # -1 == unlimited video_quota: -1 video_quota_daily: -1 + default_channel_name: 'Main $1 channel' # The placeholder $1 is used to represent the user's username video_channels: max_per_user: 20 # Allows each user to create up to 20 video channels. # If enabled, the video will be transcoded to mp4 (x264) with `faststart` flag @@ -443,17 +479,17 @@ configAsCode: 2160p: false # Transcode and keep original resolution, even if it's above your maximum enabled resolution always_transcode_original_resolution: true - # Generate videos in a WebTorrent format (what we do since the first PeerTube release) + # Generate videos in a web compatible format # If you also enabled the hls format, it will multiply videos storage by 2 # If disabled, breaks federation with PeerTube instances < 2.1 - webtorrent: + web_videos: enabled: false # /!\ Requires ffmpeg >= 4.1 - # Generate HLS playlists and fragmented MP4 files. Better playback than with WebTorrent: + # Generate HLS playlists and fragmented MP4 files. Better playback than with Web Videos: # * Resolution change is smoother # * Faster playback in particular with long videos # * More stable playback (less bugs/infinite loading) - # If you also enabled the webtorrent format, it will multiply videos storage by 2 + # If you also enabled the web videos format, it will multiply videos storage by 2 hls: enabled: true live: @@ -528,6 +564,10 @@ configAsCode: # At least 1 remote runner must be configured to transcode your videos remote_runners: enabled: false + video_file: + update: + # Add ability for users to replace the video file of an existing video + enabled: false import: # Add ability for your users to import remote videos (from YouTube, torrent...) videos: @@ -639,8 +679,9 @@ configAsCode: Disallow: # /.well-known/security.txt rules. This endpoint is cached, so you may have to wait a few hours before viewing your changes # To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string - securitytxt: - '# 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:' + securitytxt: | + Contact: https://github.com/Chocobozzz/PeerTube/blob/develop/SECURITY.md + Expires: 2025-12-31T11:00:00.000Z' services: # Cards configuration to format video in Twitter twitter: