]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
export rtmp port in dockerfiles
authorRigel Kent <sendmemail@rigelk.eu>
Sat, 21 Nov 2020 16:32:42 +0000 (17:32 +0100)
committerRigel Kent <sendmemail@rigelk.eu>
Sat, 21 Nov 2020 16:32:56 +0000 (17:32 +0100)
follows #3341

support/docker/dev/Dockerfile
support/docker/janitor/Dockerfile
support/docker/production/Dockerfile.buster

index 991cf05e288049bb15e730e6c4b4ff9eee0f94ab..e41f5e1e2b6b146ee592ad822b1108c4992589e1 100644 (file)
@@ -39,8 +39,8 @@ RUN yarn install --pure-lockfile \
 # Expose PeerTube sources as a volume
 VOLUME /home/user/PeerTube
 
-# Expose API and frontend
-EXPOSE 3000 9000
+# Expose frontend, API and RTMP
+EXPOSE 3000 9000 1935
 
 # Start PostgreSQL and Redis
 CMD ["service postgresql start && redis-server"]
index 2b4f2b215f74aa05870b0bc8bbc52e8682406140..5e7970d17ffa5c41083c33396a9bb607efd4f44b 100644 (file)
@@ -29,4 +29,5 @@ RUN sudo service postgresql start \
 COPY --chown=user:user supervisord.conf /tmp/supervisord-extra.conf
 RUN cat /tmp/supervisord-extra.conf | sudo tee -a /etc/supervisord.conf
 
-EXPOSE 3000 9000
+# Expose frontend, API and RTMP
+EXPOSE 3000 9000 1935
index 5af8aa29ab6af3ea62e276eb072f3654700e62ce..4579360902a8496dcca238d3b501906fb85b1b41 100644 (file)
@@ -41,6 +41,8 @@ VOLUME /config
 COPY ./support/docker/production/entrypoint.sh /usr/local/bin/entrypoint.sh
 ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
 
+# Expose API and RTMP
+EXPOSE 9000 1935
+
 # Run the application
 CMD ["npm", "start"]
-EXPOSE 9000