peertube: bump to v6.0.1, helm chart v0.3.0

This commit is contained in:
ace 2023-11-29 16:59:43 +03:00
parent 0cbf52ef5e
commit f0711bb137
Signed by: ace
GPG Key ID: 2C08973DD37A76FD
6 changed files with 56 additions and 15 deletions

View File

@ -5,11 +5,11 @@ dependencies:
- condition: postgresql.enabled - condition: postgresql.enabled
name: postgresql name: postgresql
repository: https://charts.bitnami.com/bitnami repository: https://charts.bitnami.com/bitnami
version: 12.2.2 version: 13.2.21
- condition: redis.enabled - condition: redis.enabled
name: redis name: redis
repository: https://charts.bitnami.com/bitnami repository: https://charts.bitnami.com/bitnami
version: 17.8.2 version: 18.4.0
type: application type: application
version: 0.2.2 version: 0.3.0
appVersion: 5.2.0 appVersion: 6.0.1

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -8,7 +8,7 @@ image:
repository: chocobozzz/peertube repository: chocobozzz/peertube
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion. # Overrides the image tag whose default is the chart appVersion.
tag: "v5.2.0-bullseye" tag: "v6.0.1-bookworm"
imagePullSecrets: [] imagePullSecrets: []
nameOverride: "" nameOverride: ""
@ -50,6 +50,26 @@ configAsCode:
# 10 attempts in 10 min # 10 attempts in 10 min
window: 10 minutes window: 10 minutes
max: 10 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: oauth2:
token_lifetime: token_lifetime:
access_token: '1 day' 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 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/' bin: '/var/www/peertube/storage/bin/'
avatars: '/var/www/peertube/storage/avatars/' 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/' streaming_playlists: '/var/www/peertube/storage/streaming-playlists/'
redundancy: '/var/www/peertube/storage/redundancy/' redundancy: '/var/www/peertube/storage/redundancy/'
logs: '/var/www/peertube/storage/logs/' logs: '/var/www/peertube/storage/logs/'
previews: '/var/www/peertube/storage/previews/' previews: '/var/www/peertube/storage/previews/'
thumbnails: '/var/www/peertube/storage/thumbnails/' thumbnails: '/var/www/peertube/storage/thumbnails/'
storyboards: '/var/www/peertube/storage/storyboards/'
torrents: '/var/www/peertube/storage/torrents/' torrents: '/var/www/peertube/storage/torrents/'
captions: '/var/www/peertube/storage/captions/' captions: '/var/www/peertube/storage/captions/'
cache: '/var/www/peertube/storage/cache/' 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 # 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 # Useful when you want to use a CDN/external proxy
base_url: '' # Example: 'https://mirror.example.com' base_url: '' # Example: 'https://mirror.example.com'
# Same settings but for webtorrent videos # Same settings but for web videos
videos: web_videos:
bucket_name: 'videos' bucket_name: 'web-videos'
prefix: '' prefix: ''
base_url: '' base_url: ''
log: log:
@ -208,6 +229,8 @@ configAsCode:
anonymize_ip: false anonymize_ip: false
log_ping_requests: true log_ping_requests: true
log_tracker_unknown_infohash: 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 prettify_sql: false
# Accept warn/error logs coming from the client # Accept warn/error logs coming from the client
accept_client_log: true accept_client_log: true
@ -224,6 +247,7 @@ configAsCode:
hostname: '127.0.0.1' hostname: '127.0.0.1'
port: 9091 port: 9091
tracing: tracing:
# If tracing is enabled, you must provide --experimental-loader=@opentelemetry/instrumentation/hook.mjs flag to the node binary
enabled: false enabled: false
# Send traces to a Jaeger compatible endpoint # Send traces to a Jaeger compatible endpoint
jaeger_exporter: jaeger_exporter:
@ -319,6 +343,8 @@ configAsCode:
check_latest_versions_interval: '12 hours' # How often you want to check new plugins/themes versions check_latest_versions_interval: '12 hours' # How often you want to check new plugins/themes versions
url: 'https://packages.joinpeertube.org' url: 'https://packages.joinpeertube.org'
federation: federation:
# Some federated software such as Mastodon may require an HTTP signature to access content
sign_federated_fetches: true
videos: videos:
federate_unlisted: false federate_unlisted: false
# Add a weekly job that cleans up remote AP interactions on local videos (shares, rates and comments) # Add a weekly job that cleans up remote AP interactions on local videos (shares, rates and comments)
@ -350,6 +376,13 @@ configAsCode:
stalled_jobs: stalled_jobs:
live: '30 seconds' live: '30 seconds'
vod: '2 minutes' 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 # 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 size: 500 # Max number of video captions/subtitles you want to cache
torrents: torrents:
size: 500 # Max number of video torrents you want to cache size: 500 # Max number of video torrents you want to cache
storyboards:
size: 500 # Max number of video storyboards you want to cache
admin: admin:
# Used to generate the root user at first startup # Used to generate the root user at first startup
# And to receive emails from the contact form # And to receive emails from the contact form
@ -397,6 +432,7 @@ configAsCode:
# -1 == unlimited # -1 == unlimited
video_quota: -1 video_quota: -1
video_quota_daily: -1 video_quota_daily: -1
default_channel_name: 'Main $1 channel' # The placeholder $1 is used to represent the user's username
video_channels: 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.
# If enabled, the video will be transcoded to mp4 (x264) with `faststart` flag # If enabled, the video will be transcoded to mp4 (x264) with `faststart` flag
@ -443,17 +479,17 @@ configAsCode:
2160p: false 2160p: false
# Transcode and keep original resolution, even if it's above your maximum enabled resolution # Transcode and keep original resolution, even if it's above your maximum enabled resolution
always_transcode_original_resolution: true 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 you also enabled the hls format, it will multiply videos storage by 2
# If disabled, breaks federation with PeerTube instances < 2.1 # If disabled, breaks federation with PeerTube instances < 2.1
webtorrent: web_videos:
enabled: false enabled: false
# /!\ Requires ffmpeg >= 4.1 # /!\ 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 # * Resolution change is smoother
# * Faster playback in particular with long videos # * Faster playback in particular with long videos
# * More stable playback (less bugs/infinite loading) # * 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: hls:
enabled: true enabled: true
live: live:
@ -528,6 +564,10 @@ configAsCode:
# At least 1 remote runner must be configured to transcode your videos # At least 1 remote runner must be configured to transcode your videos
remote_runners: remote_runners:
enabled: false enabled: false
video_file:
update:
# Add ability for users to replace the video file of an existing video
enabled: false
import: import:
# Add ability for your users to import remote videos (from YouTube, torrent...) # Add ability for your users to import remote videos (from YouTube, torrent...)
videos: videos:
@ -639,8 +679,9 @@ configAsCode:
Disallow: Disallow:
# /.well-known/security.txt rules. This endpoint is cached, so you may have to wait a few hours before viewing your changes # /.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 # To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string
securitytxt: 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:' Contact: https://github.com/Chocobozzz/PeerTube/blob/develop/SECURITY.md
Expires: 2025-12-31T11:00:00.000Z'
services: services:
# Cards configuration to format video in Twitter # Cards configuration to format video in Twitter
twitter: twitter: