srs
srs copied to clipboard
Config: Change env to lower priority than config file.
Current config priority:
- Low: Default values.
- Medium: Config file.
- High: Environment variables.
If config is set in dockerfile, user can only overwrite it by docker run --env, but not by config file.
I think the priority should be:
- Low: Default values.
- Medium: Environment variables.
- High: Config file.
So as to change and reload by config file.
You can configure SRS by config file and env. I think the priority is not the key point. This means it's acceptable when config file has a higher priority than env.