PeerTube - Decentralized video hosting network
Everything you need to deploy Peertube with BlastDock
One command deployment
Production-ready security
Customizable settings
Ready to scale up
blastdock init
Initialize new project
blastdock deploy
Deploy the application
blastdock status
Check deployment status
blastdock logs
View application logs
Get Peertube up and running in minutes with our one-click installation.
First, install BlastDock using pip (recommended):
pip install blastdock
Then deploy Peertube with:
blastdock init peertube
Interactive mode:
blastdock init peertube -i
blastdock templates
List available templates
blastdock status project
Check deployment status
blastdock logs project
View application logs
blastdock stop project
Stop deployment
Customize your Peertube installation with these configuration options.
HTTP port
HTTPS port
Database password
Admin email
Domain name
Complete Docker Compose configuration for Peertube deployment.
version: '3.8'
services:
postgres:
image: postgres:13
container_name: {{ project_name }}_postgres
restart: unless-stopped
environment:
0: POSTGRES_PASSWORD={{ db_password }}
1: POSTGRES_USER=peertube
2: POSTGRES_DB=peertube
volumes:
- /var/lib/postgresql/data
networks:
- peertube_network
redis:
image: redis:6
container_name: {{ project_name }}_redis
restart: unless-stopped
networks:
- peertube_network
peertube:
image: chocobozzz/peertube:latest
container_name: {{ project_name }}_peertube
restart: unless-stopped
depends_on:
- postgres
- redis
ports:
- "9000"
- "9443"
environment:
0: PT_INITIAL_ROOT_EMAIL={{ admin_email }}
1: PT_POSTGRES_USERNAME=peertube
2: PT_POSTGRES_PASSWORD={{ db_password }}
3: PT_POSTGRES_DATABASE=peertube
4: PT_POSTGRES_HOST=postgres
5: PT_REDIS_HOST=redis
6: PT_TRUST_PROXY=["127.0.0.1", "loopback", "172.18.0.0/16"]
7: PT_WEBSERVER_HOSTNAME={{ domain }}
8: PT_WEBSERVER_PORT={{ http_port }}
volumes:
- /config
- /data
networks:
- peertube_network
volumes:
postgres_data:
driver: local
peertube_config:
driver: local
peertube_data:
driver: local
networks:
peertube_network:
driver: bridge