From b1d06879b37b27309d74305176563307d036c51e Mon Sep 17 00:00:00 2001 From: ace Date: Tue, 13 Aug 2024 02:48:51 +0300 Subject: [PATCH] peertube: bump to v6.2.1, helm chart v0.3.5 --- peertube/Chart.yaml | 4 ++-- peertube/values.yaml | 49 +++++++++++++++++++++++++++++++++++++------- 2 files changed, 44 insertions(+), 9 deletions(-) diff --git a/peertube/Chart.yaml b/peertube/Chart.yaml index 27253f2..b59438c 100644 --- a/peertube/Chart.yaml +++ b/peertube/Chart.yaml @@ -11,5 +11,5 @@ dependencies: repository: https://charts.bitnami.com/bitnami version: 18.4.0 type: application -version: 0.3.4 -appVersion: 6.1.0 +version: 0.3.5 +appVersion: 6.2.1 diff --git a/peertube/values.yaml b/peertube/values.yaml index 81a3092..40d8048 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: "v6.1.0-bookworm" + tag: "v6.2.1-bookworm" imagePullSecrets: [] nameOverride: "" @@ -47,9 +47,9 @@ configAsCode: window: 5 minutes max: 3 receive_client_log: - # 10 attempts in 10 min - window: 10 minutes - max: 10 + # 1 attempt every 2 seconds + window: 1 minutes + max: 30 plugins: # 500 attempts in 10 seconds (we also serve plugin static files) window: 10 seconds @@ -134,7 +134,8 @@ configAsCode: # Change default values when publishing a video (upload/import/go Live) publish: download_enabled: true - comments_enabled: true + # enabled = 1, disabled = 2, requires_approval = 3 + comments_policy: 1 # public = 1, unlisted = 2, private = 3, internal = 4 privacy: 1 # CC-BY = 1, CC-SA = 2, CC-ND = 3, CC-NC = 4, CC-NC-SA = 5, CC-NC-ND = 6, Public Domain = 7 @@ -210,6 +211,10 @@ configAsCode: secret_access_key: '' # Maximum amount to upload in one request to object storage max_upload_part: 100MB + # Maximum number of attempts to make a request to object storage + # Some object storage providers (for instance Backblaze) expects the client to retry upload upon 5xx errors + # If you're using such a provider then you can increase this value + max_request_attempts: 3 streaming_playlists: bucket_name: 'streaming-playlists' # Allows setting all buckets to the same value but with a different prefix @@ -238,7 +243,7 @@ configAsCode: log: level: 'info' # 'debug' | 'info' | 'warn' | 'error' rotation: - enabled : true # Enabled by default, if disabled make sure that 'storage.logs' is pointing to a folder handled by logrotate + enabled: true # Enabled by default, if disabled make sure that 'storage.logs' is pointing to a folder handled by logrotate max_file_size: 12MB max_files: 20 anonymize_ip: false @@ -376,7 +381,7 @@ configAsCode: # This is an unmoderated plugin index, so only install plugins/themes you trust index: enabled: true - check_latest_versions_interval: '12 hours' # How often you want to check new plugins/themes versions + check_latest_versions_interval: '4 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 @@ -419,6 +424,14 @@ configAsCode: # 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 + # Only two sizes are currently supported for now (not less, not more) + # 1 size for the thumbnail (displayed in video miniatures) + # 1 size for the preview (displayed in the video player) + sizes: + - width: 280 + height: 157 + - width: 850 + height: 480 stats: # Display registration requests stats (average response time, total requests...) registration_requests: @@ -616,6 +629,28 @@ configAsCode: # At least 1 remote runner must be configured to transcode your videos remote_runners: enabled: false + video_transcription: + # Enable automatic transcription of videos + enabled: false + # Choose engine for local transcription + # Supported: 'openai-whisper' or 'whisper-ctranslate2' + engine: 'whisper-ctranslate2' + # You can set a custom engine path for local transcription + # If not provided, PeerTube will try to automatically install it in the PeerTube bin directory + engine_path: null + # Choose engine model for local transcription + # Available for 'openai-whisper' and 'whisper-ctranslate2': 'tiny', 'base', 'small', 'medium', 'large-v2' or 'large-v3' + model: 'small' + # Or specify the model path: + # * PyTorch model file path for 'openai-whisper' + # * CTranslate2 Whisper model directory path for 'whisper-ctranslate2' + # If not provided, PeerTube will automatically download the model + model_path: null + # Enable remote runners to transcribe videos + # If enabled, your instance won't transcribe the videos itself + # At least 1 remote runner must be configured to transcribe your videos + remote_runners: + enabled: false video_file: update: # Add ability for users to replace the video file of an existing video