1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Support helm to optimize the deployment procedure of a SRS cluster. v6.0.64 (#3611)

1. Introduce a novel Docker tag in the x.y.z format, akin to the HELM
format, such as ossrs/srs:5.0.155.
2. Incorporate the SRS_PLATFORM flag for containers initiated through
HELM.

---------

`TRANS_BY_GPT3`

---------

Co-authored-by: chundonglinlin <chundonglinlin@163.com>
This commit is contained in:
Winlin 2023-07-27 09:07:31 +08:00 committed by GitHub
parent 34747fa1a3
commit e19efe0bcd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 1 deletions

View file

@ -70,6 +70,8 @@ void srs_build_features(stringstream& ss)
SRS_CHECK_FEATURE2(_srs_config->get_raw_api(), "raw", ss);
SRS_CHECK_FEATURE2(_srs_config->get_exporter_enabled(), "prom", ss);
string platform = srs_getenv("SRS_PLATFORM");
SRS_CHECK_FEATURE3(!string(platform).empty(), "plat", platform, ss);
string region = srs_getenv("SRS_REGION");
SRS_CHECK_FEATURE3(!string(region).empty(), "region", region, ss);
string source = srs_getenv("SRS_SOURCE");