jicofo: add JICOFO_AUTH_LIFETIME as environment variable

pull/1582/head
emrah 1 year ago committed by Saúl Ibarra Corretgé
parent f18acb493d
commit 497015b63e
  1. 1
      docker-compose.yml
  2. 2
      jicofo/rootfs/defaults/jicofo.conf

@ -285,6 +285,7 @@ services:
- ENABLE_RECORDING
- ENABLE_SCTP
- ENABLE_AUTO_LOGIN
- JICOFO_AUTH_LIFETIME
- JICOFO_AUTH_PASSWORD
- JICOFO_AUTH_TYPE
- JICOFO_BRIDGE_REGION_GROUPS

@ -2,6 +2,7 @@
{{ $JICOFO_ENABLE_AUTH := .Env.JICOFO_ENABLE_AUTH | default $ENABLE_AUTH | toBool -}}
{{ $AUTH_TYPE := .Env.AUTH_TYPE | default "internal" -}}
{{ $JICOFO_AUTH_TYPE := .Env.JICOFO_AUTH_TYPE | default $AUTH_TYPE -}}
{{ $JICOFO_AUTH_LIFETIME := .Env.JICOFO_AUTH_LIFETIME | default "24 hours" -}}
{{ $ENABLE_SCTP := .Env.ENABLE_SCTP | default "0" | toBool -}}
{{ $ENABLE_RECORDING := .Env.ENABLE_RECORDING | default "0" | toBool -}}
{{ $ENABLE_OCTO := .Env.ENABLE_OCTO | default "0" | toBool -}}
@ -37,6 +38,7 @@ jicofo {
{{ end }}
login-url = "{{ $XMPP_DOMAIN }}"
enable-auto-login = {{ $ENABLE_AUTO_LOGIN }}
authentication-lifetime = {{ $JICOFO_AUTH_LIFETIME }}
}
{{ end }}

Loading…
Cancel
Save