-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This supersedes/fixes-up this Pull Request: #719 The Jitsi Web and JVB containers now (in build 5142) always start by bulding their own default configuration (`config.js` and `sip-communicator.properties`, respectively). The fact that we were generating these files ourselves was no longer of use, because our configuration was thrown away in favor of the one created by the containers on startup. With this commit, we're completely redoing things. We no longer generate these configuration files. We try to pass the proper environment variables, so that Jitsi services can generate the configuration files themselves. Besides that, we try to use the "custom configuration" mechanism provided by Jitsi Web and Jitsi JVB (`custom-config.js` and `custom-sip-communicator.properties`, respectively), so that we and our users can inject additional configuration. Some configuration options we had are gone now. Others are no longer controllable via variables and need to be injected using the `_config_extension` variables that we provide. The validation logic that is part of the role should take care to inform people about how to upgrade (if they're using some custom configuration, which needs special care now). Most users should not have to do anything special though.
- Loading branch information
1 parent
6e93017
commit fa76128
Showing
12 changed files
with
374 additions
and
688 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
roles/matrix-jitsi/templates/jvb/custom-sip-communicator.properties.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
org.jitsi.videobridge.xmpp.user.shard.DISABLE_CERTIFICATE_VERIFICATION=true | ||
|
||
org.jitsi.videobridge.ENABLE_STATISTICS=true | ||
org.jitsi.videobridge.STATISTICS_TRANSPORT=muc | ||
org.jitsi.videobridge.STATISTICS_INTERVAL=5000 | ||
|
||
{{ matrix_jitsi_jvb_custom_config_extension }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,20 @@ | ||
JVB_AUTH_PASSWORD={{ matrix_jitsi_jvb_auth_password }} | ||
JVB_TCP_PORT={{ matrix_jitsi_jvb_rtp_tcp_port }} | ||
JVB_PORT={{ matrix_jitsi_jvb_rtp_udp_port }} | ||
JVB_AUTH_USER={{ matrix_jitsi_jvb_auth_user }} | ||
JVB_AUTH_PASSWORD={{ matrix_jitsi_jvb_auth_password }} | ||
JVB_BREWERY_MUC={{ matrix_jitsi_jvb_brewery_muc }} | ||
|
||
XMPP_SERVER={{ matrix_jitsi_xmpp_server }} | ||
XMPP_AUTH_DOMAIN={{ matrix_jitsi_xmpp_auth_domain }} | ||
XMPP_INTERNAL_MUC_DOMAIN={{ matrix_jitsi_xmpp_internal_muc_domain }} | ||
|
||
HOSTNAME=matrix-jitsi-jvb | ||
|
||
{% if matrix_jitsi_jvb_stun_servers|length > 0 %} | ||
JVB_STUN_SERVERS={{ matrix_jitsi_jvb_stun_servers|join(',') }} | ||
{% endif %} | ||
|
||
PUBLIC_URL={{ matrix_jitsi_web_public_url }} | ||
|
||
{{ matrix_jitsi_jvb_environment_variables_extension }} |
19 changes: 0 additions & 19 deletions
19
roles/matrix-jitsi/templates/jvb/sip-communicator.properties.j2
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.