mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 20:01:56 +00:00
When using Docker, logs are usually printed to console (stdout and stderr). However, since Docker detection occurs late, after log initialization, the default log output may be incorrect. In Docker, logs may still be written to a file instead of the console as expected. Additionally, the Dockerfile has been improved with a new environment variable `SRS_IN_DOCKER=on` to clearly indicate a Docker environment. If automatic Docker detection fails, the configuration will be read, and this variable will correctly inform SRS that it's in a Docker environment. Lastly, the default configuration values have been improved for Docker environments. By default, `SRS_LOG_TANK=console` and daemon mode is disabled. --------- Co-authored-by: john <hondaxiao@tencent.com> |
||
---|---|---|
.. | ||
Architecture.md | ||
CHANGELOG.md | ||
Dockers.md | ||
Features.md | ||
ffmpeg-logo.png | ||
ffmpeg-min.png | ||
PERFORMANCE.md | ||
README.md | ||
readme.txt | ||
Resources.md | ||
source.200kbps.768x320.flv | ||
source.flv | ||
srs-logo.ico | ||
srs-logo.png |