Skip to content

Support run in single docker. #44

Closed
@XuuChannel

Description

@XuuChannel

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.

Metadata

Metadata

Assignees

Labels

EnglishNativeThis issue is conveyed exclusively in English.enhancementSystem enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions