mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
SRS5: Refine default config file for SRS. v5.0.120
1. Docker use srs.conf and env variables.
2. Show help if run SRS without any options.
3. Do not guess config file, use whatever from user.
PICK 07a9a005d5
This commit is contained in:
parent
39c9487a73
commit
4045971dea
5 changed files with 17 additions and 46 deletions
|
@ -56,4 +56,6 @@ RUN ldd /usr/local/srs/objs/ffmpeg/bin/ffmpeg && \
|
|||
|
||||
# Default workdir and command.
|
||||
WORKDIR /usr/local/srs
|
||||
CMD ["./objs/srs", "-c", "conf/docker.conf"]
|
||||
ENV SRS_SRS_LOG_TANK=console SRS_DAEMON=off
|
||||
CMD ["./objs/srs", "-c", "conf/srs.conf"]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue