jicofo: add support of reservation REST API

pull/179/head
Mohammed 5 years ago committed by Saúl Ibarra Corretgé
parent 6234a18dc6
commit 8bfe7fbb92
  1. 1
      docker-compose.yml
  2. 3
      env.example
  3. 4
      jicofo/rootfs/defaults/sip-communicator.properties

@ -118,6 +118,7 @@ services:
- JICOFO_COMPONENT_SECRET - JICOFO_COMPONENT_SECRET
- JICOFO_AUTH_USER - JICOFO_AUTH_USER
- JICOFO_AUTH_PASSWORD - JICOFO_AUTH_PASSWORD
- JICOFO_RESERVATION_REST_BASE_URL
- JVB_BREWERY_MUC - JVB_BREWERY_MUC
- JIGASI_BREWERY_MUC - JIGASI_BREWERY_MUC
- JIBRI_BREWERY_MUC - JIBRI_BREWERY_MUC

@ -201,6 +201,9 @@ JICOFO_AUTH_USER=focus
# XMPP password for Jicofo client connections. # XMPP password for Jicofo client connections.
JICOFO_AUTH_PASSWORD=passw0rd JICOFO_AUTH_PASSWORD=passw0rd
# Base URL of Jicofo's reservation REST API
#JICOFO_RESERVATION_REST_BASE_URL=http://reservation.example.com
# XMPP user for Jigasi MUC client connections. # XMPP user for Jigasi MUC client connections.
JIGASI_XMPP_USER=jigasi JIGASI_XMPP_USER=jigasi

@ -13,3 +13,7 @@ org.jitsi.jicofo.jigasi.BREWERY={{ .Env.JIGASI_BREWERY_MUC}}@{{ .Env.XMPP_INTERN
{{ if .Env.ENABLE_AUTH | default "0" | toBool }} {{ if .Env.ENABLE_AUTH | default "0" | toBool }}
org.jitsi.jicofo.auth.URL=XMPP:{{ .Env.XMPP_DOMAIN }} org.jitsi.jicofo.auth.URL=XMPP:{{ .Env.XMPP_DOMAIN }}
{{ end }} {{ end }}
{{ if .Env.JICOFO_RESERVATION_REST_BASE_URL }}
org.jitsi.impl.reservation.rest.BASE_URL={{ .Env.JICOFO_RESERVATION_REST_BASE_URL }}
{{ end }}

Loading…
Cancel
Save