diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9f494b2..cd471e9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -74,9 +74,11 @@ jobs: # # Restart SRS signaling service cat << END > /root/restart_docs-signaling.sh + # See https://github.com/ossrs/signaling docker pull registry.cn-hangzhou.aliyuncs.com/ossrs/signaling:$SRS_MAJOR docker rm -f docs-signaling || sleep 1 - docker run -d -it --restart always --name docs-signaling -p 1989:1989 \ + docker run -d -it --restart always --name docs-signaling -p 1989:1989 \\ + --log-driver=json-file --log-opt=max-size=500m --log-opt=max-file=3 \\ registry.cn-hangzhou.aliyuncs.com/ossrs/signaling:$SRS_MAJOR END bash /root/restart_docs-signaling.sh