Skip to content

Commit e1675de

Browse files
committed
Rename var
1 parent 3ee7b60 commit e1675de

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ services:
3939
- JIBRI_RECORDER_USER
4040
- JIBRI_RECORDER_PASSWORD
4141
- ENABLE_RECORDING
42-
- TURN_ENABLE
42+
- ENABLE_TURN
4343
networks:
4444
meet.jitsi:
4545
aliases:
@@ -106,7 +106,7 @@ services:
106106
- JWT_TOKEN_AUTH_MODULE
107107
- LOG_LEVEL
108108
- TZ
109-
- TURN_ENABLE
109+
- ENABLE_TURN
110110
- TURN_SECRET
111111
- TURN_HOST
112112
- TURN_PORT

env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ JIBRI_LOGS_DIR=/config/logs
330330
# Defaults to unless-stopped
331331
RESTART_POLICY=unless-stopped
332332
# Use TURN for P2P and JVB (bridge mode) connections
333-
#TURN_ENABLE=0
333+
#ENABLE_TURN=0
334334

335335
# Realm to be used for the users with long-term credentials mechanism or with TURN REST API
336336
#TURN_REALM=realm

prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ VirtualHost "{{ .Env.XMPP_DOMAIN }}"
5454
"ping";
5555
"speakerstats";
5656
"conference_duration";
57-
{{ if .Env.TURN_ENABLE | default "0" | toBool }}
57+
{{ if .Env.ENABLE_TURN | default "0" | toBool }}
5858
"turncredentials";
5959
{{end}}
6060
{{ if and $ENABLE_LOBBY (not $ENABLE_GUEST_DOMAIN) }}

web/rootfs/etc/cont-init.d/10-config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ if [[ ! -f /config/config.js ]]; then
115115
/config/config.js
116116
fi
117117

118-
if [[ $TURN_ENABLE -eq 1 || "$TURN_ENABLE" == "true" ]]; then
118+
if [[ $ENABLE_TURN -eq 1 || "$ENABLE_TURN" == "true" ]]; then
119119
sed -i \
120120
-e "s#// useStunTurn:.*,#useStunTurn: true,#" \
121121
/config/config.js

0 commit comments

Comments
 (0)