diff --git a/docker-compose.yml b/docker-compose.yml index 8b23f25..88f2610 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -255,6 +255,8 @@ services: jicofo: image: jitsi/jicofo:${JITSI_IMAGE_VERSION:-unstable} restart: ${RESTART_POLICY:-unless-stopped} + ports: + - '127.0.0.1:8888:8888' volumes: - ${CONFIG}/jicofo:/config:Z environment: @@ -275,6 +277,7 @@ services: - JICOFO_CONF_INITIAL_PARTICIPANT_WAIT_TIMEOUT - JICOFO_CONF_SINGLE_PARTICIPANT_TIMEOUT - JICOFO_ENABLE_HEALTH_CHECKS + - JICOFO_ENABLE_REST - JIBRI_BREWERY_MUC - JIBRI_REQUEST_RETRIES - JIBRI_PENDING_TIMEOUT diff --git a/jicofo/rootfs/defaults/jicofo.conf b/jicofo/rootfs/defaults/jicofo.conf index f0feea5..026cf1c 100644 --- a/jicofo/rootfs/defaults/jicofo.conf +++ b/jicofo/rootfs/defaults/jicofo.conf @@ -4,6 +4,7 @@ {{ $ENABLE_RECORDING := .Env.ENABLE_RECORDING | default "0" | toBool }} {{ $ENABLE_OCTO := .Env.ENABLE_OCTO | default "0" | toBool }} {{ $ENABLE_AUTO_LOGIN := .Env.ENABLE_AUTO_LOGIN | default "1" | toBool }} +{{ $ENABLE_REST := Env.JICOFO_ENABLE_REST | default "0" | toBool }} {{ $JIBRI_BREWERY_MUC := .Env.JIBRI_BREWERY_MUC | default "jibribrewery" -}} {{ $JIGASI_BREWERY_MUC := .Env.JIGASI_BREWERY_MUC | default "jigasibrewery" -}} {{ $JVB_BREWERY_MUC := .Env.JVB_BREWERY_MUC | default "jvbbrewery" -}} @@ -133,6 +134,12 @@ jicofo { enabled = {{ $ENABLE_OCTO }} } + {{ if $ENABLE_REST }} + rest { + host = "127.0.0.1" + } + {{ end }} + sctp { enabled = {{ $ENABLE_SCTP }} }