Open the server Apps tab
Select your VPS, open the Apps tab, and start a new app deployment.


Decentralized video hosting platform
Add your server credentials to Server Compass
Choose from our template library
Fill in settings and click Deploy
Use the PeerTube template in Server Compass to deploy a self-hosted decentralized video hosting platform with PostgreSQL, Redis, and persistent video/config storage, then verify the homepage in a browser.
Select your VPS, open the Apps tab, and start a new app deployment.

Click New App and choose the template deployment path so Server Compass can load the built-in catalog.

Use the template picker search to find PeerTube.

Choose the PeerTube template. Server Compass fills the app image, public hostname, host port, PostgreSQL, Redis, and persistent video/config storage.

Confirm the app name, compose services, and generated configuration.

Review the generated environment values, confirm the port is available, and click Deploy Now.

Keep the deployment modal open while Server Compass pulls images, starts services, and verifies the stack.

After deployment finishes, confirm the PeerTube app is marked Running.

Open the application URL in a browser. The PeerTube homepage confirms the app is reachable.

It deploys PeerTube with PostgreSQL, Redis, and persistent data, config, and database volumes.
The tutorial used host port 9000, which maps to the PeerTube web server on container port 9000.
Prefer the command line? Follow this step-by-step guide to deploy PeerTube manually on your VPS.
Open your terminal and connect to your server. Replace the IP address with your VPS IP.
# SSH into your server
ssh root@your-server-ip
# Using a custom SSH key
ssh -i ~/.ssh/id_rsa root@your-server-ipFirst time? Need Docker? Install it: curl -fsSL https://get.docker.com | sh
Set up a clean directory for your application.
# Create and navigate to project directory
mkdir -p ~/apps/peertube
cd ~/apps/peertubeSet up the container stack using this Docker Compose configuration:
services:
peertube:
image: chocobozzz/peertube:production-bookworm
ports:
- "9000:9000"
environment:
- PEERTUBE_WEBSERVER_HOSTNAME=<your-hostname>
- PEERTUBE_WEBSERVER_PORT=9000
- PEERTUBE_WEBSERVER_HTTPS=false
- PEERTUBE_DB_USERNAME=peertube
- PEERTUBE_DB_PASSWORD=<your-db-password>
- PEERTUBE_DB_HOSTNAME=db
- PEERTUBE_REDIS_HOSTNAME=redis
- PEERTUBE_SECRET=<your-secret>
- [email protected]
volumes:
- peertube_data:/data
- peertube_config:/config
restart: unless-stopped
depends_on:
db:
condition: service_healthy
redis:
condition: service_healthy
db:
image: postgres:16-alpine
environment:
- POSTGRES_USER=peertube
- POSTGRES_PASSWORD=<your-db-password>
- POSTGRES_DB=peertube
volumes:
- postgres_data:/var/lib/postgresql/data
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "pg_isready -U peertube"]
interval: 10s
timeout: 5s
retries: 5
redis:
image: redis:7-alpine
restart: unless-stopped
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 5s
retries: 5
volumes:
peertube_data:
peertube_config:
postgres_data:
PORTHost port(default: 9000)HOSTNAMEHostnameSECRETSecretDB_PASSWORDDB passwordLaunch your application stack in the background.
# Start the containers in detached mode
docker compose up -d
# Check if containers are running
docker compose ps
# View logs
docker compose logs -fConfigure your firewall to permit external connections.
# Allow the application port through firewall
sudo ufw allow 9000/tcp
sudo ufw reload
# Access your app at:
# http://your-server-ip:9000Deploy PeerTube with a beautiful UI instead. No SSH, no YAML editing, no terminal commands. Just click, configure, and deploy in under 3 minutes.
After deploying PeerTube with Server Compass, complete these steps to finish setup
Create admin account
Configure instance settings
Need help? Check out our documentation for detailed guides.
Common questions about self-hosting PeerTube
Simply download Server Compass, connect to your VPS, and select PeerTube from the templates list. Fill in the required configuration and click Deploy. The entire process takes under 3 minutes.
PeerTube requires a minimum of 1024MB RAM. We recommend a VPS with at least 2048MB RAM for optimal performance. Any modern Linux server with Docker support will work.
Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard PeerTube backup and restore procedures.
Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest PeerTube image will be pulled and deployed with zero downtime.
PeerTube is open-source software. You only pay for your VPS hosting (typically $5-20/month) and optionally Server Compass ($29 one-time). No subscription fees or per-seat pricing.
Download Server Compass and deploy PeerTube to your VPS in under 3 minutes. No Docker expertise required.
Download Server Compass