New secubox-app-peertube package for self-hosted video streaming: - LXC Debian container with PostgreSQL, Redis, Node.js, FFmpeg - peertubectl control script with install/update/emancipate commands - UCI configuration for server, transcoding, live streaming, storage - procd init script with respawn support - HAProxy integration with WebSocket and extended timeouts - RTMP live streaming support (optional) - S3/object storage support (configurable) - Admin commands for user management - Backup/restore functionality Commands: peertubectl install - Create LXC container with full stack peertubectl emancipate <domain> - Full exposure with HAProxy + ACME peertubectl admin create-user - Create user accounts peertubectl live enable - Enable RTMP live streaming peertubectl backup/restore - Database backup Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
46 lines
1007 B
Plaintext
46 lines
1007 B
Plaintext
config peertube 'main'
|
|
option enabled '0'
|
|
option data_path '/srv/peertube'
|
|
option videos_path '/srv/peertube/videos'
|
|
option memory_limit '2048'
|
|
option timezone 'Europe/Paris'
|
|
|
|
config peertube 'server'
|
|
option hostname 'peertube.local'
|
|
option port '9000'
|
|
option https '1'
|
|
option webserver_hostname ''
|
|
|
|
config peertube 'live'
|
|
option enabled '0'
|
|
option rtmp_port '1935'
|
|
option max_duration '7200'
|
|
option allow_replay '1'
|
|
option transcoding_enabled '1'
|
|
|
|
config peertube 'transcoding'
|
|
option enabled '1'
|
|
option threads '2'
|
|
option allow_audio_files '1'
|
|
option hls_enabled '1'
|
|
list resolutions '480p'
|
|
list resolutions '720p'
|
|
|
|
config peertube 'storage'
|
|
option external_enabled '0'
|
|
option s3_endpoint ''
|
|
option s3_region ''
|
|
option s3_bucket ''
|
|
option s3_access_key ''
|
|
option s3_secret_key ''
|
|
|
|
config peertube 'network'
|
|
option domain ''
|
|
option haproxy '0'
|
|
option haproxy_ssl '1'
|
|
option firewall_wan '0'
|
|
|
|
config peertube 'admin'
|
|
option email 'admin@localhost'
|
|
option initial_password ''
|