mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
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.
This commit is contained in:
parent
ae3b367487
commit
07a9a005d5
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