jicofo: enable rest interface (#1494)

pull/1495/head
Aaron van Meerten 2 years ago committed by GitHub
parent ca0b92ee2a
commit e1c1f1b034
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      docker-compose.yml
  2. 7
      jicofo/rootfs/defaults/jicofo.conf

@ -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

@ -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 }}
}

Loading…
Cancel
Save