Skip to content

Commit 79d2601

Browse files
committed
jvb: add ability to specify set the WS_SERVER_ID with an env var
1 parent b277926 commit 79d2601

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ services:
211211
- JVB_TCP_MAPPED_PORT
212212
- JVB_STUN_SERVERS
213213
- JVB_ENABLE_APIS
214+
- JVB_WS_SERVER_ID
214215
- PUBLIC_URL
215216
- TZ
216217
depends_on:

jvb/rootfs/defaults/sip-communicator.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,12 @@ org.jitsi.videobridge.STATISTICS_TRANSPORT=muc
2727
org.jitsi.videobridge.STATISTICS_INTERVAL=5000
2828

2929
{{ $WS_DOMAIN := .Env.PUBLIC_URL | default "https://localhost:8443" | trimPrefix "https://" | trimSuffix "/" -}}
30+
{{ $WS_SERVER_ID := .Env.JVB_WS_SERVER_ID | default .Env.LOCAL_ADDRESS }}
3031

3132
org.jitsi.videobridge.rest.COLIBRI_WS_DISABLE=false
3233
org.jitsi.videobridge.rest.jetty.port=9090
3334
org.jitsi.videobridge.rest.COLIBRI_WS_DOMAIN={{ $WS_DOMAIN }}
3435
org.jitsi.videobridge.rest.COLIBRI_WS_TLS=true
35-
org.jitsi.videobridge.rest.COLIBRI_WS_SERVER_ID={{ .Env.LOCAL_ADDRESS }}
36+
org.jitsi.videobridge.rest.COLIBRI_WS_SERVER_ID={{ $WS_SERVER_ID }}
3637

3738
org.jitsi.videobridge.rest.private.jetty.host=0.0.0.0

0 commit comments

Comments
 (0)