浏览代码

export rtmp port in dockerfiles

follows #3341
tags/v3.0.0-rc.1
Rigel Kent 2 个月前
父节点
当前提交
08d70fe606
找不到此签名对应的密钥 GPG 密钥 ID: 5E53E96A494E452F
共有 3 个文件被更改,包括 7 次插入4 次删除
  1. +2
    -2
      support/docker/dev/Dockerfile
  2. +2
    -1
      support/docker/janitor/Dockerfile
  3. +3
    -1
      support/docker/production/Dockerfile.buster

+ 2
- 2
support/docker/dev/Dockerfile 查看文件

@@ -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"]

+ 2
- 1
support/docker/janitor/Dockerfile 查看文件

@@ -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

+ 3
- 1
support/docker/production/Dockerfile.buster 查看文件

@@ -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

正在加载...
取消
保存