peertube

by ananace

Helm chartv1.8.4App 8.3.2Verified publisher

Free software to take back control of your videos

About this chart

Peertube

Peertube is a federated video hosting platform for the open web.

Prerequisites

  • Non-EoL Kubernetes cluster
  • Helm 3
  • SMTP server available

Installing

Peertube will require three pieces of data to be installed; A server name, an admin contact email address, and an SMTP server configuration.

For a simple install with an authentication-less SMPT server this could look like;

helm install peertube ananace-charts/peertube --set config.serverName=videos.example.com,[email protected],config.mail.hostname=smtp.example.com

If your storage class supports RWX (ReadWriteMany) storage, it's strongly recommended to use it for peertube, to avoid downtime on upgrades.

helm install ... --set config.persistence.accessModes[0]=ReadWriteMany

Live-streaming / RTMP

For the live-streaming functionality to work, you will need to make sure your ingress forwards TCP connections on the RTMP port. (1935 by default)

With that in place, you can enable live-streaming support either with extraConfig.live.enabled=true or by having config.webadminConfig=true and activating it from inside the system itself.

Deploy peertube with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has peertube on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartpeertube is pinned at v1.8.4 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply