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

Default to log to console for docker. v4.0.168

This commit is contained in:
winlin 2021-10-08 21:58:33 +08:00
parent 4c087b9376
commit 55d8cb4b7b
7 changed files with 21 additions and 24 deletions

View file

@ -1,4 +1,4 @@
# main config for srs.
# docker config for srs.
# @see full.conf for detail config.
listen 1935;
@ -14,20 +14,10 @@ http_server {
listen 8080;
dir ./objs/nginx/html;
}
stats {
network 0;
disk sda sdb xvda xvdb;
}
rtc_server {
enabled on;
# Listen at udp://8000
listen 8000;
#
# The $CANDIDATE means fetch from env, if not configed, use * as default.
#
# The * means retrieving server IP automatically, from all network interfaces,
# @see https://github.com/ossrs/srs/issues/307#issuecomment-599028124
candidate $CANDIDATE;
enabled on;
listen 8000;
candidate $CANDIDATE;
}
vhost __defaultVhost__ {
hls {
@ -39,6 +29,5 @@ vhost __defaultVhost__ {
}
rtc {
enabled on;
bframe discard;
}
}

View file

@ -3,8 +3,8 @@
listen 1935;
max_connections 1000;
srs_log_tank file;
srs_log_file ./objs/srs.log;
#srs_log_tank file;
#srs_log_file ./objs/srs.log;
daemon on;
http_api {
enabled on;