jicofo: add enable-auto-login config option

pull/1121/head
Kenny 3 years ago committed by GitHub
parent 96419ba1d3
commit f748484d1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      docker-compose.yml
  2. 2
      jicofo/rootfs/defaults/jicofo.conf

@ -202,6 +202,7 @@ services:
- ENABLE_OCTO - ENABLE_OCTO
- ENABLE_RECORDING - ENABLE_RECORDING
- ENABLE_SCTP - ENABLE_SCTP
- ENABLE_AUTO_LOGIN
- JICOFO_AUTH_USER - JICOFO_AUTH_USER
- JICOFO_AUTH_PASSWORD - JICOFO_AUTH_PASSWORD
- JICOFO_ENABLE_BRIDGE_HEALTH_CHECKS - JICOFO_ENABLE_BRIDGE_HEALTH_CHECKS

@ -3,6 +3,7 @@
{{ $AUTH_TYPE := .Env.AUTH_TYPE | default "internal" }} {{ $AUTH_TYPE := .Env.AUTH_TYPE | default "internal" }}
{{ $ENABLE_RECORDING := .Env.ENABLE_RECORDING | default "0" | toBool }} {{ $ENABLE_RECORDING := .Env.ENABLE_RECORDING | default "0" | toBool }}
{{ $ENABLE_OCTO := .Env.ENABLE_OCTO | default "0" | toBool }} {{ $ENABLE_OCTO := .Env.ENABLE_OCTO | default "0" | toBool }}
{{ $ENABLE_AUTO_LOGIN := .Env.ENABLE_AUTO_LOGIN | default "1" | toBool }}
jicofo { jicofo {
{{ if $ENABLE_AUTH }} {{ if $ENABLE_AUTH }}
@ -22,6 +23,7 @@ jicofo {
{{ else }} {{ else }}
login-url = "{{ .Env.XMPP_DOMAIN }}" login-url = "{{ .Env.XMPP_DOMAIN }}"
{{ end }} {{ end }}
enable-auto-login={{ $ENABLE_AUTO_LOGIN }}
} }
{{ end }} {{ end }}

Loading…
Cancel
Save