From 40096ccb5cce28588e685659aaa2bb00bf1d292a Mon Sep 17 00:00:00 2001 From: winlin Date: Thu, 2 Nov 2023 09:54:56 +0800 Subject: [PATCH] Update --- .../current/doc/getting-started-stack.md | 14 +++++++++++- .../current/doc/getting-started-stack.md | 22 ++++++++++++++----- .../version-5.0/doc/getting-started-stack.md | 22 ++++++++++++++----- .../version-5.0/doc/getting-started-stack.md | 14 +++++++++++- 4 files changed, 60 insertions(+), 12 deletions(-) diff --git a/i18n/en-us/docusaurus-plugin-content-docs/current/doc/getting-started-stack.md b/i18n/en-us/docusaurus-plugin-content-docs/current/doc/getting-started-stack.md index 41146f20..a8206ca8 100644 --- a/i18n/en-us/docusaurus-plugin-content-docs/current/doc/getting-started-stack.md +++ b/i18n/en-us/docusaurus-plugin-content-docs/current/doc/getting-started-stack.md @@ -34,7 +34,15 @@ Special Note: ## Docker -SRS Stack offers a Docker image, for usage instructions refer to the [SRS Stack Docker](https://github.com/ossrs/srs-stack#usage). +Strongly recommend running SRS Stack with docker: + +```bash +docker run --rm -it --name srs-stack -v $HOME/data:/data \ + -p 2022:2022 -p 2443:2443 -p 1935:1935 -p 8000:8000/udp -p 10080:10080/udp \ + ossrs/srs-stack:5 +``` + +For more details, please refer to [SRS Stack Docker](https://github.com/ossrs/srs-stack#usage). ## Script @@ -54,6 +62,10 @@ SRS Stack offers a BaoTa plugin, for usage instructions refer to the [SRS Stack Please read [TencentCloud LightHouse](https://www.bilibili.com/video/BV1844y1L7dL/): Deploy SRS to Tencent LightHouse. +## FAQ + +If you encounter issues while using SRS Stack, please read the [FAQ](/faq-srs-stack) first. + ## Blogs * [SRS Stack - How to Setup a Video Streaming Service by 1-Click](/blog/SRS-Stack-Tutorial) diff --git a/i18n/zh-cn/docusaurus-plugin-content-docs/current/doc/getting-started-stack.md b/i18n/zh-cn/docusaurus-plugin-content-docs/current/doc/getting-started-stack.md index fffff0f3..76b0e1bd 100644 --- a/i18n/zh-cn/docusaurus-plugin-content-docs/current/doc/getting-started-stack.md +++ b/i18n/zh-cn/docusaurus-plugin-content-docs/current/doc/getting-started-stack.md @@ -31,7 +31,19 @@ SRS Stack是一个基于Go、Reactjs、SRS、FFmpeg、WebRTC等的轻量级、 ## Docker -SRS Stack 提供了一个 Docker 镜像,关于使用说明,请参考 [SRS Stack Docker](https://github.com/ossrs/srs-stack#usage)。 +推荐使用Docker运行SRS Stack: + +```bash +docker run --rm -it --name srs-stack -v $HOME/data:/data \ + -p 2022:2022 -p 2443:2443 -p 1935:1935 -p 8000:8000/udp -p 10080:10080/udp \ + registry.cn-hangzhou.aliyuncs.com/ossrs/srs-stack:5 +``` + +关于使用说明,请参考 [SRS Stack Docker](https://github.com/ossrs/srs-stack#usage)。 + +## BT + +SRS Stack提供了宝塔插件,使用方法参考[宝塔插件](/blog/BT-aaPanel)。 ## Script @@ -42,15 +54,15 @@ SRS Stack 提供了一个 Docker 镜像,关于使用说明,请参考 [SRS St 在国内做流媒体或RTC业务,可以在腾讯云轻量服务器上购买SRS Stack,参考[SRS Stack:起步、购买和入门](/blog/SRS-Stack-Tutorial)。 -## BT - -SRS Stack提供了宝塔插件,使用方法参考[宝塔插件](/blog/BT-aaPanel)。 - ## DigitalOcean Droplet 若你需要做出海业务,在海外做直播或者RTC,可以很方便的一键创建SRS Stack,参考 [DigitalOcean Droplet](https://mp.weixin.qq.com/s/_GcJm15BGv1qbmHixPQAGQ) 使用说明。 +## FAQ + +若使用SRS Stack时遇到问题,请先阅读[FAQ](/faq-srs-stack)。 + ## Blogs * [SRS Stack - 起步、购买和入门](/blog/SRS-Stack-Tutorial) diff --git a/i18n/zh-cn/docusaurus-plugin-content-docs/version-5.0/doc/getting-started-stack.md b/i18n/zh-cn/docusaurus-plugin-content-docs/version-5.0/doc/getting-started-stack.md index 29801ab2..f5f119f4 100644 --- a/i18n/zh-cn/docusaurus-plugin-content-docs/version-5.0/doc/getting-started-stack.md +++ b/i18n/zh-cn/docusaurus-plugin-content-docs/version-5.0/doc/getting-started-stack.md @@ -31,7 +31,19 @@ SRS Stack是一个基于Go、Reactjs、SRS、FFmpeg、WebRTC等的轻量级、 ## Docker -SRS Stack 提供了一个 Docker 镜像,关于使用说明,请参考 [SRS Stack Docker](https://github.com/ossrs/srs-stack#usage)。 +推荐使用Docker运行SRS Stack: + +```bash +docker run --rm -it --name srs-stack -v $HOME/data:/data \ + -p 2022:2022 -p 2443:2443 -p 1935:1935 -p 8000:8000/udp -p 10080:10080/udp \ + registry.cn-hangzhou.aliyuncs.com/ossrs/srs-stack:5 +``` + +关于使用说明,请参考 [SRS Stack Docker](https://github.com/ossrs/srs-stack#usage)。 + +## BT + +SRS Stack提供了宝塔插件,使用方法参考[宝塔插件](/blog/BT-aaPanel)。 ## Script @@ -42,15 +54,15 @@ SRS Stack 提供了一个 Docker 镜像,关于使用说明,请参考 [SRS St 在国内做流媒体或RTC业务,可以在腾讯云轻量服务器上购买SRS Stack,参考[SRS Stack:起步、购买和入门](/blog/SRS-Stack-Tutorial)。 -## BT - -SRS Stack提供了宝塔插件,使用方法参考[宝塔插件](/blog/BT-aaPanel)。 - ## DigitalOcean Droplet 若你需要做出海业务,在海外做直播或者RTC,可以很方便的一键创建SRS Stack,参考 [DigitalOcean Droplet](https://mp.weixin.qq.com/s/_GcJm15BGv1qbmHixPQAGQ) 使用说明。 +## FAQ + +若使用SRS Stack时遇到问题,请先阅读[FAQ](/faq-srs-stack)。 + ## Blogs * [SRS Stack - 起步、购买和入门](/blog/SRS-Stack-Tutorial) diff --git a/versioned_docs/version-5.0/doc/getting-started-stack.md b/versioned_docs/version-5.0/doc/getting-started-stack.md index e8a56b2d..3ee7459a 100644 --- a/versioned_docs/version-5.0/doc/getting-started-stack.md +++ b/versioned_docs/version-5.0/doc/getting-started-stack.md @@ -34,7 +34,15 @@ Special Note: ## Docker -SRS Stack offers a Docker image, for usage instructions refer to the [SRS Stack Docker](https://github.com/ossrs/srs-stack#usage). +Strongly recommend running SRS Stack with docker: + +```bash +docker run --rm -it --name srs-stack -v $HOME/data:/data \ + -p 2022:2022 -p 2443:2443 -p 1935:1935 -p 8000:8000/udp -p 10080:10080/udp \ + ossrs/srs-stack:5 +``` + +For more details, please refer to [SRS Stack Docker](https://github.com/ossrs/srs-stack#usage). ## Script @@ -54,6 +62,10 @@ SRS Stack offers a BaoTa plugin, for usage instructions refer to the [SRS Stack Please read [TencentCloud LightHouse](https://www.bilibili.com/video/BV1844y1L7dL/): Deploy SRS to Tencent LightHouse. +## FAQ + +If you encounter issues while using SRS Stack, please read the [FAQ](/faq-srs-stack) first. + ## Blogs * [SRS Stack - How to Setup a Video Streaming Service by 1-Click](/blog/SRS-Stack-Tutorial)