From 9a1dd29d01d4d6496f8a46b98c74cba6ca924c58 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Mon, 10 May 2021 12:58:10 +0200 Subject: [PATCH] Add RTMP optional port setup --- .env.sample | 4 ++++ compose.peertube.yml | 5 +++++ compose.yml | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 compose.peertube.yml diff --git a/.env.sample b/.env.sample index 9ed3478..a707a4e 100644 --- a/.env.sample +++ b/.env.sample @@ -24,5 +24,9 @@ LOG_LEVEL=WARN # COMPOSE_FILE="compose.yml:compose.foodsoft.yml" # FOODSOFT_SMTP_ENABLED=1 +## Peertube RTMP +# COMPOSE_FILE="compose.yml:compose.peertube.yml" +# PEERTUBE_RTMP_ENABLED=1 + ## Host-mode networking #COMPOSE_FILE="compose.yml:compose.host.yml" diff --git a/compose.peertube.yml b/compose.peertube.yml new file mode 100644 index 0000000..b03016d --- /dev/null +++ b/compose.peertube.yml @@ -0,0 +1,5 @@ +version: "3.8" +services: + app: + ports: + - "1935:1935" diff --git a/compose.yml b/compose.yml index 9d6a4ac..7408d4e 100644 --- a/compose.yml +++ b/compose.yml @@ -4,7 +4,7 @@ services: image: "traefik:v2.4.8" # Note(decentral1se): *please do not* add any additional ports here. # Doing so could break new installs with port conflicts. Please use - # the usual `compose.$name.yml` approach for any additional ports + # the usual `compose.$app.yml` approach for any additional ports ports: - "80:80" - "443:443"