From 07a31eab2675a13e3d6e7dd319201a947e8266a7 Mon Sep 17 00:00:00 2001 From: Seungmin Kim <8457324+ehfd@users.noreply.github.com> Date: Thu, 8 Aug 2024 18:42:57 +0900 Subject: [PATCH] Localize coTURN output files --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index de58d91..37127aa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -620,7 +620,9 @@ turnserver \ --user=\"selkies:\${TURN_RANDOM_PASSWORD:-\$(tr -dc 'A-Za-z0-9' < /dev/urandom 2>/dev/null | head -c 24)}\" \ --no-cli \ --cli-password=\"\${TURN_RANDOM_PASSWORD:-\$(tr -dc 'A-Za-z0-9' < /dev/urandom 2>/dev/null | head -c 24)}\" \ - --db=\"\${XDG_RUNTIME_DIR:-/tmp}/coturn-turndb\" \ + --userdb=\"\${XDG_RUNTIME_DIR:-/tmp}/turnserver-turndb\" \ + --log-file=\"stdout\" \ + --pidfile=\"\${XDG_RUNTIME_DIR:-/tmp}/turnserver.pid\" \ --allow-loopback-peers \ \${TURN_EXTRA_ARGS} \$@\ " > /etc/start-turnserver.sh && chmod -f 755 /etc/start-turnserver.sh