Skip to content

Commit

Permalink
Log file for coTURN
Browse files Browse the repository at this point in the history
  • Loading branch information
ehfd authored Aug 14, 2024
1 parent 506743a commit 55343dc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ exec turnserver \
--user="selkies:selkies" \
--allow-loopback-peers \
--userdb="/tmp/turnserver-turndb" \
--log-file="stdout" \
--pidfile="/tmp/turnserver.pid" \
--no-stdout-log \
--log-file="/tmp/turnserver.log" \
--prometheus \
${TURN_EXTRA_ARGS} $@
3 changes: 2 additions & 1 deletion addons/coturn/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ turnserver \
--no-cli \
--cli-password="$(tr -dc 'A-Za-z0-9' < /dev/urandom 2>/dev/null | head -c 24)" \
--userdb="/tmp/turnserver-turndb" \
--log-file="stdout" \
--pidfile="/tmp/turnserver.pid" \
--no-stdout-log \
--log-file="/tmp/turnserver.log" \
--allow-loopback-peers \
--prometheus \
${TURN_EXTRA_ARGS} $@
1 change: 1 addition & 0 deletions addons/example/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ turnserver \
--cli-password=\"\${TURN_RANDOM_PASSWORD:-\$(tr -dc 'A-Za-z0-9' < /dev/urandom 2>/dev/null | head -c 24)}\" \
--userdb=\"\${XDG_RUNTIME_DIR:-/tmp}/turnserver-turndb\" \
--pidfile=\"\${XDG_RUNTIME_DIR:-/tmp}/turnserver.pid\" \
--no-stdout-log \
--log-file=\"/tmp/turnserver.log\" \
--allow-loopback-peers \
\${TURN_EXTRA_ARGS} \$@\
Expand Down

0 comments on commit 55343dc

Please sign in to comment.