ActivityPub-federated video streaming platform using P2P directly in your web browser
export rtmp port in dockerfiles
Rigel Kent08d70fe60672
diff --git a/support/docker/dev/Dockerfile b/support/docker/dev/Dockerfileindex 991cf05e28..e41f5e1e2b 100644--- a/support/docker/dev/Dockerfile+++ b/support/docker/dev/Dockerfile@@ -39,8 +39,8 @@ RUN yarn install --pure-lockfile \# Expose PeerTube sources as a volumeVOLUME /home/user/PeerTube-# Expose API and frontend-EXPOSE 3000 9000+# Expose frontend, API and RTMP+EXPOSE 3000 9000 1935# Start PostgreSQL and RedisCMD ["service postgresql start && redis-server"]diff --git a/support/docker/janitor/Dockerfile b/support/docker/janitor/Dockerfileindex 2b4f2b215f..5e7970d17f 100644--- a/support/docker/janitor/Dockerfile+++ b/support/docker/janitor/Dockerfile@@ -29,4 +29,5 @@ RUN sudo service postgresql start \COPY --chown=user:user supervisord.conf /tmp/supervisord-extra.confRUN cat /tmp/supervisord-extra.conf | sudo tee -a /etc/supervisord.conf-EXPOSE 3000 9000+# Expose frontend, API and RTMP+EXPOSE 3000 9000 1935diff --git a/support/docker/production/Dockerfile.buster b/support/docker/production/Dockerfile.busterindex 5af8aa29ab..4579360902 100644--- a/support/docker/production/Dockerfile.buster+++ b/support/docker/production/Dockerfile.buster@@ -41,6 +41,8 @@ VOLUME /configCOPY ./support/docker/production/entrypoint.sh /usr/local/bin/entrypoint.shENTRYPOINT ["/usr/local/bin/entrypoint.sh"]+# Expose API and RTMP+EXPOSE 9000 1935+# Run the applicationCMD ["npm", "start"]-EXPOSE 9000