mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
In dockerfile, we can set the default RTC candidate to env: ``` ENV SRS_RTC_SERVER_CANDIDATE=\$CANDIDATE CMD ["./objs/srs", "-e"] ``` When starts a docker container, user can setup the candidate by env: ``` docker run --rm -it --env CANDIDATE=1.2.3.4 ossrs/srs:5 ``` We should parse the content of SRS_RTC_SERVER_CANDIDATE as env variable name and parse it again. --------- Co-authored-by: chundonglinlin <chundonglinlin@163.com> Co-authored-by: pengfei.ma <pengfei.ma@ctechm.com> |
||
|---|---|---|
| .. | ||
| apps.sh | ||
| auto_headers.sh | ||
| codecov.sh | ||
| depends.sh | ||
| local_ip.sh | ||
| modules.sh | ||
| options.sh | ||
| reset_module.sh | ||
| setup_variables.sh | ||
| summary.sh | ||
| utest.sh | ||