diff --git a/docker-compose.yml b/docker-compose.yml index 589e1a5..b6aad95 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -118,6 +118,7 @@ services: - JICOFO_COMPONENT_SECRET - JICOFO_AUTH_USER - JICOFO_AUTH_PASSWORD + - JICOFO_RESERVATION_REST_BASE_URL - JVB_BREWERY_MUC - JIGASI_BREWERY_MUC - JIBRI_BREWERY_MUC diff --git a/env.example b/env.example index 69f032b..bea835f 100644 --- a/env.example +++ b/env.example @@ -201,6 +201,9 @@ JICOFO_AUTH_USER=focus # XMPP password for Jicofo client connections. 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. JIGASI_XMPP_USER=jigasi diff --git a/jicofo/rootfs/defaults/sip-communicator.properties b/jicofo/rootfs/defaults/sip-communicator.properties index 0c7d23a..c28b7b2 100644 --- a/jicofo/rootfs/defaults/sip-communicator.properties +++ b/jicofo/rootfs/defaults/sip-communicator.properties @@ -13,3 +13,7 @@ org.jitsi.jicofo.jigasi.BREWERY={{ .Env.JIGASI_BREWERY_MUC}}@{{ .Env.XMPP_INTERN {{ if .Env.ENABLE_AUTH | default "0" | toBool }} org.jitsi.jicofo.auth.URL=XMPP:{{ .Env.XMPP_DOMAIN }} {{ end }} + +{{ if .Env.JICOFO_RESERVATION_REST_BASE_URL }} +org.jitsi.impl.reservation.rest.BASE_URL={{ .Env.JICOFO_RESERVATION_REST_BASE_URL }} +{{ end }}