Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support run in single docker. #44

Closed
XuuChannel opened this issue Jul 31, 2022 · 0 comments
Closed

Support run in single docker. #44

XuuChannel opened this issue Jul 31, 2022 · 0 comments
Assignees
Labels
EnglishNative This issue is conveyed exclusively in English. enhancement System enhancement

Comments

@XuuChannel
Copy link

XuuChannel commented Jul 31, 2022

For v1.0.292+

Run srs-cloud in one docker, so please mount volumes if want to save data to local disk:

docker run --rm -it -p 2022:2022 -p 1935:1935/tcp \
  -p 8080:8080/tcp -p 8000:8000/udp -p 10080:10080/udp -v $HOME/data:/data \
  --name srs-cloud ossrs/srs-cloud:5

Note: Please use registry.cn-hangzhou.aliyuncs.com/ossrs/srs-cloud in China.

Then open http://localhost:2022/mgmt in browser.

The volumes for srs-cloud:

  • /data The global data directory.
    • redis The redis data directory, the publish secret and record configuration.
    • config The mgmt password and cloud configuration.
    • record The record storage directory, save record files.
    • vlive The storage directory for virtual live, save video files.

You can change the volumes to other directories.

@winlinvip winlinvip self-assigned this Dec 29, 2022
@winlinvip winlinvip added the enhancement System enhancement label Dec 29, 2022
@winlinvip winlinvip changed the title 希望增加docker镜像 Support run in single docker. 希望增加docker镜像 Feb 27, 2023
@winlinvip winlinvip pinned this issue Feb 27, 2023
@winlinvip winlinvip changed the title Support run in single docker. 希望增加docker镜像 Support run in single docker. 支持直接在单个Docker镜像中运行。 Feb 27, 2023
@winlinvip winlinvip changed the title Support run in single docker. 支持直接在单个Docker镜像中运行。 Support run in single docker. Jul 12, 2023
@winlinvip winlinvip added the EnglishNative This issue is conveyed exclusively in English. label Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EnglishNative This issue is conveyed exclusively in English. enhancement System enhancement
Projects
None yet
Development

No branches or pull requests

2 participants