update peertube to v3.1.0

This commit is contained in:
ace 2021-03-25 22:12:39 +03:00
parent f437947773
commit 0879e36023
No known key found for this signature in database
GPG Key ID: 2E47CC17BA7F8CF0
2 changed files with 56 additions and 12 deletions

View File

@ -11,5 +11,5 @@ dependencies:
repository: https://charts.bitnami.com/bitnami
version: 12.3.2
type: application
version: 0.1.1
appVersion: 3.0.1
version: 0.1.2
appVersion: 3.1.0

View File

@ -8,7 +8,7 @@ image:
repository: chocobozzz/peertube
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "v3.0.1-buster"
tag: "v3.1.0-buster"
imagePullSecrets: []
nameOverride: ""
@ -115,9 +115,18 @@ configAsCode:
maxFileSize: 12MB
maxFiles: 20
anonymizeIP: false
log_ping_requests: true
prettify_sql: false
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'
default: 'most-viewed'
# Cache remote videos on your server, to help other instances to broadcast the video
# You can define multiple caches using different sizes/strategies
# Once you have defined your strategies, choose which instances you want to cache in admin -> manage follows -> following
@ -186,6 +195,13 @@ configAsCode:
federation:
videos:
federate_unlisted: false
# Add a weekly job that cleans up remote AP interactions on local videos (shares, rates and comments)
# It removes objects that do not exist anymore, and potentially fix their URLs
# This setting is opt-in because due to an old bug in PeerTube, remote rates sent by instance before PeerTube 3.0 will be deleted
# We still suggest you to enable this setting even if your users will loose most of their video's likes/dislikes
cleanup_remote_interactions: false
###############################################################################
#
# From this point, all the following keys can be overridden by the web interface
@ -202,6 +218,8 @@ configAsCode:
size: 500 # Max number of previews you want to cache
captions:
size: 500 # Max number of video captions/subtitles you want to cache
torrents:
size: 500 # Max number of video torrents you want to cache
admin:
# Used to generate the root user at first startup
# And to receive emails from the contact form
@ -230,15 +248,32 @@ configAsCode:
allow_additional_extensions: true
# If a user uploads an audio file, PeerTube will create a video by merging the preview file and the audio file
allow_audio_files: true
# Amount of threads used by ffmpeg for 1 transcoding job
threads: 2
# Amount of transcoding jobs to execute in parallel
concurrency: 2
resolutions: # Only created if the original video has a higher resolution, uses more storage!
0p: true # audio-only (creates mp4 without video stream, always created when enabled)
240p: true
360p: true
240p: false
360p: false
480p: true
720p: true
1080p: true
2160p: true
1440p: false
2160p: false
# Choose the transcoding profile
# New profiles can be added by plugins
# Available in core PeerTube: 'default'
profile: 'default'
resolutions: # Only created if the original video has a higher resolution, uses more storage!
0p: false # audio-only (creates mp4 without video stream, always created when enabled)
240p: false
360p: false
480p: true
720p: true
1080p: true
1440p: false
2160p: false
# Generate videos in a WebTorrent format (what we do since the first PeerTube release)
# If you also enabled the hls format, it will multiply videos storage by 2
# If disabled, breaks federation with PeerTube instances < 2.1
@ -255,7 +290,7 @@ configAsCode:
live:
enabled: true
# Limit lives duration
# Set null to disable duration limit
# -1 == unlimited
max_duration: -1 # For example: '5 hours'
# Limit max number of live videos created on your instance
# -1 == unlimited
@ -274,18 +309,27 @@ configAsCode:
transcoding:
enabled: true
threads: 2
# Choose the transcoding profile
# New profiles can be added by plugins
# Available in core PeerTube: 'default'
profile: 'default'
resolutions:
240p: true
360p: true
240p: false
360p: false
480p: true
720p: true
1080p: true
2160p: true
1440p: false
2160p: false
import:
# Add ability for your users to import remote videos (from YouTube, torrent...)
videos:
# Amount of import jobs to execute in parallel
concurrency: 1
http: # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.html
enabled: true
# IPv6 is very strongly rate-limited on most sites supported by youtube-dl
force_ipv4: false
# You can use an HTTP/HTTPS/SOCKS proxy with youtube-dl
proxy:
enabled: false
@ -300,8 +344,8 @@ configAsCode:
# Instance settings
instance:
name: 'PeerTube'
short_description: 'PeerTube, a federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular.'
description: 'Welcome to PeerTube instance!' # Support markdown
short_description: 'PeerTube, an ActivityPub-federated video streaming platform using P2P directly in your web browser.'
description: 'Welcome to this PeerTube instance!' # Support markdown
terms: 'No terms for now.' # Support markdown
code_of_conduct: '' # Supports markdown
# Who moderates the instance? What is the policy regarding NSFW videos? Political videos? etc