peertube: bump to 8.0.1, helm chart 0.5.1

This commit is contained in:
ace
2026-01-06 03:41:04 +03:00
parent c77693c0e1
commit 95532c9613
2 changed files with 125 additions and 49 deletions

View File

@@ -12,5 +12,5 @@ dependencies:
repository: https://charts.bitnami.com/bitnami
version: 24.0.0
type: application
version: 0.5.0
appVersion: 7.2.3
version: 0.5.1
appVersion: 8.0.1

View File

@@ -8,7 +8,7 @@ image:
repository: chocobozzz/peertube
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "v7.2.3-bookworm"
tag: "v8.0.1"
imagePullSecrets: []
nameOverride: ""
@@ -28,7 +28,10 @@ configAsCode:
# Secrets you need to generate the first time you run PeerTube
secrets:
# Generate one using `openssl rand -hex 32`
peertube: 'change-me-i-am-not-secure'
peertube: ''
# How long PeerTube should wait to receive the entire request
http_timeouts:
request: '5 minutes'
rates_limit:
api:
# 50 attempts in 10 seconds
@@ -127,37 +130,6 @@ configAsCode:
disable_starttls: true
ca_file: null # Used for self signed certificates
from_address: 'peertube@example.com'
email:
body:
signature: 'PeerTube'
subject:
prefix: '[PeerTube]'
# Update default PeerTube values
# Set by API when the field is not provided and put as default value in client
defaults:
# Change default values when publishing a video (upload/import/go Live)
publish:
download_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
# You can also choose a custom licence value added by a plugin
# No licence by default
licence: null
p2p:
# Enable P2P by default in PeerTube client
# Can be enabled/disabled by anonymous users and logged in users
webapp:
enabled: true
# Enable P2P by default in PeerTube embed
# Can be enabled/disabled by URL option
embed:
enabled: true
player:
# By default, playback starts automatically when opening a video
auto_play: true
# From the project root directory
storage:
tmp: '/var/www/peertube/storage/tmp/' # Use to download data (imports etc), store uploaded files before and during processing...
@@ -177,14 +149,15 @@ configAsCode:
cache: '/var/www/peertube/storage/cache/'
plugins: '/var/www/peertube/storage/plugins/'
well_known: '/var/www/peertube/storage/well-known/'
# Various admin/user uploads that are not suitable for the folders above
uploads: '/var/www/peertube/storage/uploads/'
# Overridable client files in client/dist/assets/images:
# - logo.svg
# - favicon.png
# - default-playlist.jpg
# - default-avatar-account-48x48.png
# - default-avatar-account.png
# - default-avatar-video-channel-48x48.png
# - default-avatar-video-channel.png
# - and icons/*.png (PWA)
# Could contain for example assets/images/favicon.png
# - default-playlist.jpg
# Could contain for example "assets/images/default-playlist.jpg"
# If the file exists, peertube will serve it
# If not, peertube will fallback to the default file
client_overrides: '/var/www/peertube/storage/client-overrides/'
@@ -360,12 +333,19 @@ configAsCode:
views:
videos:
# PeerTube creates a database entry every hour for each video to track views over a period of time
# This is used in particular by the Trending page
# PeerTube could remove old remote video views if you want to reduce your database size (video view counter will not be altered)
# This is used in particular by the Trending/Hot algorithms
# PeerTube can remove views from remote videos if you want to reduce your database size (video view counter will not be altered)
# -1 means no cleanup
# Other values could be '6 months' or '30 days' etc (PeerTube will periodically delete old entries from database)
remote:
max_age: '30 days'
# PeerTube can also remove views informations from local videos
# Local views are used by the Trending/Hot algorithms, as remote views, but they are also used to display view stats to video makers
# Video view counter will not be altered, but video makers won't be able to see views stats of their videos before "max_age"
# -1 means no cleanup
# Other values could be '6 months' or '30 days' etc (PeerTube will periodically delete old entries from database)
local:
max_age: -1
# PeerTube buffers local video views before updating and federating the video
local_buffer_update_interval: '30 minutes'
# How long does it take to count again a view from the same user
@@ -385,7 +365,6 @@ configAsCode:
# Unlike anonymous viewers, this endpoint is also used to store the "last watched video timecode" for your users
# Increasing this value reduces the accuracy of the video resume
users: '5 seconds'
# Used to get country location of views of local videos
geo_ip:
enabled: true
@@ -439,6 +418,8 @@ configAsCode:
stalled_jobs:
live: '30 seconds'
vod: '2 minutes'
studio: '2 minutes'
transcription: '2 minutes'
thumbnails:
# When automatically generating a thumbnail from the video
generation_from_video:
@@ -466,10 +447,13 @@ configAsCode:
total_admins:
enabled: true
webrtc:
# 1 or 2 STUN servers are sufficient
# STUN servers used by web browser to discover its public IP address, used by the player to establish P2P connections
# You can add or replace these STUN server URLs, or install your own
stun_servers:
- 'stun:stunserver2024.stunprotocol.org'
- 'stun:stunserver2025.stunprotocol.org'
- 'stun:stun.framasoft.org'
- 'stun:stun.ekiga.net'
- 'stun:stun.freeswitch.org'
nsfw_flags_settings:
# Allow logged-in/anonymous users to have a more granular control over their NSFW policy
# using NSFW flags (violent content, etc.) set by video authors
@@ -523,7 +507,7 @@ configAsCode:
user:
history:
videos:
# Enable or disable video history by default for new users.
# Enable or disable video history by default for new users
enabled: true
# Default value of maximum video bytes the user can upload
# Does not take into account transcoded files or account export archives (that can include user uploaded files)
@@ -532,8 +516,11 @@ configAsCode:
video_quota: -1
video_quota_daily: -1
default_channel_name: 'Main $1 channel' # The placeholder $1 is used to represent the user's username
password_constraints:
min_length: 8
video_channels:
max_per_user: 20 # Allows each user to create up to 20 video channels.
max_per_user: 20 # Allows each user to create up to 20 video channels
max_collaborators_per_channel: 20
# If enabled, the video will be transcoded to mp4 (x264) with `faststart` flag
# In addition, if some resolutions are enabled the mp4 video file will be transcoded to these new resolutions
# Please, do not disable transcoding since many uploaded videos will not work
@@ -588,7 +575,6 @@ configAsCode:
max: 60
# 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
web_videos:
enabled: false
# /!\ Requires ffmpeg >= 4.1
@@ -698,6 +684,8 @@ configAsCode:
# * CTranslate2 Whisper model directory path for 'whisper-ctranslate2'
# If not provided, PeerTube will automatically download the model
model_path: null
# Increase this value if you plan to transcribe long videos and if your video doesn't have a GPU
timeout: '6 hours'
# 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
@@ -714,6 +702,8 @@ configAsCode:
concurrency: 1
# Set a custom video import timeout to not block import queue
timeout: '2 hours'
# Number of attempts a user or the channel sync process can do to import a video if an error occurs during the import process
max_attempts: 3
# 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
@@ -761,6 +751,7 @@ configAsCode:
videos_limit_per_synchronization: 10
# Max number of videos to import when the user asks for full sync
full_sync_videos_limit: 1000
# Add ability for your users to import a PeerTube archive file to automatically create videos, channels, captions, etc
users:
# Video quota is checked on import so the user doesn't upload a too big archive file
# Video quota (daily quota is not taken into account) is also checked for each video when PeerTube is processing the import
@@ -800,6 +791,9 @@ configAsCode:
# If you want to explain on what type of hardware your PeerTube instance runs
# Example: '2 vCore, 2GB RAM...'
hardware_information: '' # Supports Markdown
# Default language of your instance, used in emails for example
# The web interface still uses the web browser preferred language
default_language: 'en'
# Describe the languages spoken on your instance, to interact with your users for example
# Uncomment or add the languages you want
# List of supported languages: https://peertube.cpy.re/api/v1/videos/languages
@@ -854,6 +848,8 @@ configAsCode:
mastodon_link: ''
# Bluesky
bluesky_link: ''
# X
x_link: ''
customizations:
javascript: '' # Directly your JavaScript code (without <script> tags). Will be eval at runtime
css: '' # Directly your CSS code (without <style> tags). Will be injected at runtime
@@ -875,10 +871,15 @@ configAsCode:
username: '@Chocobozzz'
followers:
instance:
# Allow or not other instances to follow yours
# Allow remote actors to follow your instance
# This setting is not retroactive: current followers of your instance will not be affected
enabled: true
# Whether or not an administrator must manually validate a new follower
manual_approval: false
channels:
# Allow remote actors to follow channels/accounts of your instance
# This setting is not retroactive: current followers of local channels/accounts will not be affected
enabled: true
followings:
instance:
# If you want to automatically follow back new instance followers
@@ -895,6 +896,20 @@ configAsCode:
index_url: ''
theme:
default: 'default'
# Easily redefine the client UI when the user is using your default instance theme
# Use null to keep the default values
# If you need more advanced customizations, install or develop a dedicated theme: https://docs.joinpeertube.org/contribute/plugins
customization:
primary_color: null # Hex color. Example: '#FF8F37'
foreground_color: null # Hex color
background_color: null # Hex color
background_secondary_color: null # Hex color
menu_foreground_color: null # Hex color
menu_background_color: null # Hex color
menu_border_radius: null # Pixels. Example: '5px'
header_background_color: null # Hex color
header_foreground_color: null # Hex color
input_border_radius: null # Pixels
broadcast_message:
enabled: false
message: '' # Support markdown
@@ -926,6 +941,12 @@ configAsCode:
is_default_search: false
# PeerTube client/interface configuration
client:
# Display modals to inform users of new features after a PeerTube update
new_features_info: true
header:
# Hide the instance name in the header on desktop
# Useful if your logo already contains the instance name
hide_instance_name: false
videos:
miniature:
# By default PeerTube client displays author username
@@ -934,6 +955,20 @@ configAsCode:
# Max size of upload chunks, e.g. '90MB'
# If null, it will be calculated based on network speed
max_chunk_size: null
browse_videos:
# Default sort option
# Available options:
# '-publishedAt'
# '-originallyPublishedAt'
# 'name'
# '-trending' (requires the 'most-viewed' trending videos algorithm to be enabled)
# '-hot' (requires the 'hot' trending videos algorithm to be enabled)
# '-likes' (requires the 'most-liked' trending videos algorithm to be enabled)
# '-views'
default_sort: '-publishedAt'
# Default scope option
# Available options: 'local' or 'federated'
default_scope: 'federated'
menu:
login:
# If you enable only one external auth plugin
@@ -963,6 +998,47 @@ configAsCode:
storyboards:
# Generate storyboards of local videos using ffmpeg so users can see the video preview in the player while scrubbing the video
enabled: true
remote_runners:
# Use remote runners to generate storyboards instead of processing them locally
enabled: false
# Update default PeerTube values
# Set by API when the field is not provided and put as default value in client
defaults:
# Change default values when publishing a video (upload/import/go Live)
publish:
download_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
# You can also choose a custom licence value added by a plugin
# No licence by default
licence: null
p2p:
# Enable P2P by default in PeerTube client
# Can be enabled/disabled by anonymous users and logged in users
webapp:
enabled: true
# Enable P2P by default in PeerTube embed
# Can be enabled/disabled by URL option
embed:
enabled: true
player:
theme: 'galaxy' # 'galaxy' | 'lucide'
# By default, playback starts automatically when opening a video
auto_play: true
email:
body:
# Support {{instanceName}} template variable
signature: ''
subject:
# Support {{instanceName}} template variable
prefix: '[{{instanceName}}] '
video_comments:
# Accept or not comments from remote instances
# This setting is not retroactive: current comments from remote platforms will not be deleted
accept_remote_comments: true
# Set initial root password
#env: