Deploy PeerTube Video Platform

PeerTube video hosting with HLS transcoding, PostgreSQL and Redis

Deploy PeerTube Video Platform

Data

Just deployed

/var/lib/postgresql/data

Just deployed

/data

Application

Just deployed

/data

Deploy and Host PeerTube Video Platform on Railway

PeerTube is a free, federated video platform. You upload videos, it transcodes them to adaptive HLS streams, and visitors watch them in the browser. Channels, playlists, comments and subscriptions work across the fediverse, so other PeerTube servers and Mastodon users can follow your channels.

About Hosting PeerTube Video Platform

The template runs the official PeerTube v8.3.2 image with PostgreSQL 17 and Redis 8, each pinned by digest. PeerTube is the only public service and serves the web app, API, ActivityPub and video files itself. Videos, thumbnails and plugins live on a 5 GB volume, PostgreSQL on its own 5 GB volume, and Redis keeps PeerTube's transcoding queue in an append-only file on a 1 GB volume, so queued jobs survive restarts. On the first boot PeerTube creates a root administrator with a generated password that you copy from the PeerTube service variables. Registration is closed until you open it.

Why Deploy PeerTube Video Platform on Railway

Railway gives PeerTube the stable HTTPS domain that federation needs, private networking to its database and queue, persistent volumes, generated secrets and health-checked deploys. The template passes each visitor's real address to PeerTube, so its sign-in rate limits and view counts work behind Railway's proxy, and private videos stay private because PeerTube serves their files only to people allowed to watch.

Common Use Cases

  • Host videos for a school, project, club or company without ads or tracking
  • Publish a channel that people can follow from Mastodon and other fediverse servers
  • Share unlisted, private or password-protected videos with a team or community
  • Run a small video library for a community you moderate yourself

Dependencies for PeerTube Video Platform Hosting

The deployment uses PeerTube (joinpeertube.org), PostgreSQL and Redis. PeerTube is a registered trademark of Framasoft; this template is not affiliated with Framasoft.

Deployment Dependencies

  • PeerTube v8.3.2 with ffmpeg transcoding
  • PostgreSQL 17 and Redis 8 with persistent volumes
  • One value from you: the administrator's email address
  • Optional: an SMTP provider for password resets and notifications

Template Content

More templates in this category

View Template
Rocky Linux
Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀

codestorm
51
View Template
Foundry Virtual Tabletop
Self-hosted virtual tabletop for role-playing games (license required)

Lucas
71
View Template
NEW
Double Commander in your browser
The Double Commander file manager in the cloud, from any device

Nermin Sabanovic
0