Add RTMP configuration

This commit is contained in:
decentral1se 2021-05-10 13:05:40 +02:00
parent ae1ce12b13
commit 5ed31595ac
No known key found for this signature in database
GPG Key ID: 92DAD76BD9567B8A
2 changed files with 14 additions and 0 deletions

View File

@ -39,3 +39,6 @@ SECRET_DB_PASSWORD_VERSION=v1
#PEERTUBE_SMTP_FROM=peertube@example.com
#PEERTUBE_SMTP_TLS=false
#PEERTUBE_SMTP_DISABLE_STARTTLS=true
## Live stream settings
#COMPOSE_FILE="compose.yml:compose.rmtp.yml"

11
compose.rtmp.yml Normal file
View File

@ -0,0 +1,11 @@
---
version: "3.8"
services:
app:
deploy:
labels:
- "traefik.enable=true"
- "traefik.tcp.routers.peertube-rtmp.rule=HostSNI(`*`)"
- "traefik.tcp.routers.peertube-rtmp.entrypoints=peertube-rtmp"
- "traefik.tcp.services.peertube-rtmp.loadbalancer.server.port=1935"