Skip to content

Commit

Permalink
Rename var
Browse files Browse the repository at this point in the history
  • Loading branch information
goacid authored and kmaziere committed Sep 29, 2020
1 parent 3ee7b60 commit e68944f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ services:
- JIBRI_RECORDER_USER
- JIBRI_RECORDER_PASSWORD
- ENABLE_RECORDING
- TURN_ENABLE
- ENABLE_TURN
networks:
meet.jitsi:
aliases:
Expand Down Expand Up @@ -106,7 +106,7 @@ services:
- JWT_TOKEN_AUTH_MODULE
- LOG_LEVEL
- TZ
- TURN_ENABLE
- ENABLE_TURN
- TURN_SECRET
- TURN_HOST
- TURN_PORT
Expand Down
2 changes: 1 addition & 1 deletion env.example
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ JIBRI_LOGS_DIR=/config/logs
# Defaults to unless-stopped
RESTART_POLICY=unless-stopped
# Use TURN for P2P and JVB (bridge mode) connections
#TURN_ENABLE=0
#ENABLE_TURN=0

# Realm to be used for the users with long-term credentials mechanism or with TURN REST API
#TURN_REALM=realm
Expand Down
2 changes: 1 addition & 1 deletion prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ VirtualHost "{{ .Env.XMPP_DOMAIN }}"
"ping";
"speakerstats";
"conference_duration";
{{ if .Env.TURN_ENABLE | default "0" | toBool }}
{{ if .Env.ENABLE_TURN | default "0" | toBool }}
"turncredentials";
{{end}}
{{ if and $ENABLE_LOBBY (not $ENABLE_GUEST_DOMAIN) }}
Expand Down
2 changes: 1 addition & 1 deletion web/rootfs/etc/cont-init.d/10-config
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ if [[ ! -f /config/config.js ]]; then
/config/config.js
fi

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

0 comments on commit e68944f

Please sign in to comment.