Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Mar 9, 2020
1 parent 1ef74a5 commit 6bcb313
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ WORKDIR /tmp/git/owt-docker/owt-server-4.3
COPY owt-server-4.3/build/libdeps/*.bz2 ./build/libdeps/
RUN ./scripts/installDepsUnattended.sh
RUN echo "Build product" && ./scripts/build.js -t all --check
#RUN echo "Build debug version" && ./scripts/build.js -t all --check --debug
RUN ./scripts/pack.js -t all --install-module --sample-path $CLIENT_SAMPLE_PATH
RUN echo "Pack product" && ./scripts/pack.js -t all --install-module --sample-path $CLIENT_SAMPLE_PATH
#RUN echo "Build debug" && ./scripts/build.js -t all --check --debug
#RUN echo "Pack debug" && ./scripts/pack.js -t all --debug --addon-debug --install-module --sample-path $CLIENT_SAMPLE_PATH

WORKDIR /tmp/git/owt-docker/owt-server-4.3
CMD ["pwd"]
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ docker run -it -p 3004:3004 -p 3300:3300 -p 8080:8080 -p 60000-60050:60000-60050
* 设置WebRTC Agent的进程数目为1,可以直接调试这个进程,不然多个进程每个进程都要设置断点,会比较麻烦(也可以调试)。
* 设置`nodeManager`的超时时间为3000秒(即50分钟),默认是3秒,所以很容易在设置断点或单步运行时进程被杀掉,导致调试失败。
* 日志级别全部设置为`DEBUG`,会显示更多的详细的日志,文件为`log4js_configuration.json`
* 设置`amqp_client`的超时时间为2000秒(即33分钟),默认是2秒,所以会在调试时导致各种超时。

推荐使用debug镜像启动,若不使用debug镜像,你也可以手动修改你的OWT,改动参考[这里](https://github.com/winlinvip/owt-server/compare/v4.3...feature/debug-v4.3)

Expand Down

0 comments on commit 6bcb313

Please sign in to comment.