docker镜像默认开启trace日志

同时暴露webrtc over tcp端口
This commit is contained in:
xia-chu 2023-04-23 14:37:05 +08:00
parent 41451f6a93
commit a37b038af6

View File

@ -8,6 +8,7 @@ EXPOSE 443/tcp
EXPOSE 10000/udp
EXPOSE 10000/tcp
EXPOSE 8000/udp
EXPOSE 8000/tcp
EXPOSE 9000/udp
# ADD sources.list /etc/apt/sources.list
@ -82,4 +83,4 @@ COPY --from=build /opt/media/ZLMediaKit/release/linux/${MODEL}/MediaServer /opt/
COPY --from=build /opt/media/ZLMediaKit/release/linux/${MODEL}/config.ini /opt/media/conf/
COPY --from=build /opt/media/ZLMediaKit/www/ /opt/media/bin/www/
ENV PATH /opt/media/bin:$PATH
CMD ["sh","-c","./MediaServer -s default.pem -c ../conf/config.ini"]
CMD ["sh","-c","./MediaServer -s default.pem -c ../conf/config.ini -l 0"]