42 lines
1.3 KiB
Markdown
42 lines
1.3 KiB
Markdown
# PeerTube
|
|
|
|
PeerTube is a federated, self-hosted video platform. Videos are served using WebTorrent to reduce bandwidth load on the server.
|
|
|
|
## Dependencies
|
|
|
|
- **PostgreSQL** - Database for storing video metadata and accounts
|
|
- **Redis** - Used for caching and job queuing
|
|
- **SMTP** - For account verification and notifications
|
|
|
|
## Configuration
|
|
|
|
Key settings in `config.yaml`:
|
|
|
|
- **domain** - Where PeerTube will be accessible
|
|
- **storage** - Persistent volume size for video files (default: `5Gi`)
|
|
- **db.name** - Database name (default: `peertube`)
|
|
- **smtp** - Email settings inherited from your Wild Cloud SMTP service
|
|
|
|
## First-Time Setup
|
|
|
|
1. Add and deploy the app:
|
|
```bash
|
|
wild app add peertube
|
|
wild app deploy peertube
|
|
```
|
|
|
|
2. Log in with the root admin account:
|
|
- **Username**: `root`
|
|
- **Password**: value of `adminPassword` in your `secrets.yaml`
|
|
|
|
3. Complete the setup wizard that appears on first login (instance name, description, etc.).
|
|
|
|
4. Start uploading videos or configure federation with other PeerTube instances.
|
|
|
|
## Notes
|
|
|
|
- Increase `storage` significantly if you plan to host many videos — video files can be large
|
|
- The `secretKey` is auto-generated and used for signing tokens
|
|
- Federation with other PeerTube instances is opt-in and configured per-instance
|
|
- Live streaming requires additional UDP port configuration on your router
|