this post was submitted on 12 Mar 2025
86 points (98.9% liked)

Fediverse memes

1062 readers
522 users here now

Memes about the Fediverse

Other relevant communities:

founded 5 months ago
MODERATORS
 

cross-posted from: https://lemmy.abnormalbeings.space/post/75057

I may make it even bigger if no users join the server

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 1 week ago

See my comment to kayzeekayzee, I don't think local options exist - but I am also relatively new myself - so maybe someone else knows something.

But if you have those 10TB somewhere you can put behind a domain name and server installation - This is the official documentation.

Of note: The part in the config file (usually /var/www/peertube/config/production.yaml) looks like this (my current config as an example)

redundancy:
  videos:
    check_interval: '15 minutes' # How often you want to check new videos to cache
    strategies: # Just uncomment strategies you want
      -
        size: '50GB'
        # Minimum time the video must remain in the cache. Only accept values > 10 hours (to not overload remote instances)
        min_lifetime: '48 hours'
        strategy: 'most-views' # Cache videos that have the most views
      -
        size: '150GB'
        # Minimum time the video must remain in the cache. Only accept values > 10 hours (to not overload remote instances)
        min_lifetime: '48 hours'
        strategy: 'trending' # Cache trending videos
      -
        size: '100GB'
        # Minimum time the video must remain in the cache. Only accept values > 10 hours (to not overload remote instances)
        min_lifetime: '48 hours'
        strategy: 'recently-added' # Cache recently added videos
        min_views: 10 # Having at least x views