Sfoglia il codice sorgente

Fix additional JVB broken after move to external Jitsi role (fixes #2733)

This contribution is provided by GRNET S.A. (grnet.gr).
pull/2746/head
Antonis Christofides 2 anni fa
parent
commit
6ce94ba33f
2 ha cambiato i file con 14 aggiunte e 0 eliminazioni
  1. +10
    -0
      docs/configuring-playbook-jitsi.md
  2. +4
    -0
      group_vars/jitsi_jvb_servers

+ 10
- 0
docs/configuring-playbook-jitsi.md Vedi File

@@ -208,6 +208,16 @@ However, it can also be set the ip address of the matrix server. This can be use
jitsi_xmpp_server: "192.168.0.1"
```

For the JVB to be able ito contact the XMPP server, the latter must expose the XMPP port (5222). By default, the Matrix server does not expose the
port; only the XMPP container exposes it internally inside the host, which means that the first JVB (which runs on the Matrix server) can reach it but
the additional JVB cannot. The port is exposed by setting `jitsi_prosody_container_jvb_host_bind_port` like this:

```yaml
jitsi_prosody_container_jvb_host_bind_port: 5222
```

(The default is empty; if it's set then docker forwards the port.)

The nginx configuration will also need to be updated in order to deal with the additional JVB servers. This is achieved via its own configuration variable
`matrix_nginx_proxy_proxy_jitsi_additional_jvbs`, which contains a dictionary of server ids to ip addresses.



+ 4
- 0
group_vars/jitsi_jvb_servers Vedi File

@@ -0,0 +1,4 @@
jitsi_architecture: "{{ matrix_architecture }}"
jitsi_hostname: "{{ matrix_server_fqn_jitsi }}"
jitsi_uid: "{{ matrix_user_uid }}"
jitsi_gid: "{{ matrix_user_gid }}"

Caricamento…
Annulla
Salva