Skip to content

Commit

Permalink
Merge pull request #24 from matrix-org/bbz/expose-jvb-web-sockets-com…
Browse files Browse the repository at this point in the history
…pression

JVB: expose an env var to toggling web-socket compression
  • Loading branch information
benbz authored May 25, 2023
2 parents f82c1c7 + 4e44d9c commit df166f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ services:
- JVB_OCTO_RELAY_ID
- JVB_WS_DOMAIN
- JVB_WS_SERVER_ID
- JVB_ENABLE_WS_COMPRESSION
- JVB_XMPP_AUTH_DOMAIN
- JVB_XMPP_INTERNAL_MUC_DOMAIN
- JVB_XMPP_PORT
Expand Down
2 changes: 2 additions & 0 deletions jvb/rootfs/defaults/jvb.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
{{ $SHUTDOWN_REST_ENABLED := .Env.SHUTDOWN_REST_ENABLED | default "false" | toBool -}}
{{ $WS_DOMAIN := .Env.JVB_WS_DOMAIN | default $PUBLIC_URL_DOMAIN -}}
{{ $WS_SERVER_ID := .Env.JVB_WS_SERVER_ID | default .Env.JVB_WS_SERVER_ID_FALLBACK -}}
{{ $ENABLE_WS_COMPRESSION := .Env.JVB_ENABLE_WS_COMPRESSION | default "1" | toBool -}}
{{ $XMPP_AUTH_DOMAIN := .Env.XMPP_AUTH_DOMAIN | default "auth.meet.jitsi" -}}
{{ $XMPP_INTERNAL_MUC_DOMAIN := .Env.XMPP_INTERNAL_MUC_DOMAIN | default "internal-muc.meet.jitsi" -}}
{{ $XMPP_PORT := .Env.XMPP_PORT | default "5222" -}}
Expand Down Expand Up @@ -84,6 +85,7 @@ videobridge {
enabled = {{ $ENABLE_COLIBRI_WEBSOCKET }}
domain = "{{ $WS_DOMAIN }}"
tls = true
enable-compression = {{ $ENABLE_WS_COMPRESSION }}
server-id = "{{ $WS_SERVER_ID }}"
}
http-servers {
Expand Down

0 comments on commit df166f5

Please sign in to comment.