mirror of
https://github.com/jitsi/docker-jitsi-meet.git
synced 2026-04-03 00:01:07 +02:00
jicofo: add JICOFO_AUTH_LIFETIME as environment variable
This commit is contained in:
parent
f18acb493d
commit
497015b63e
@ -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 -}}
|
||||
@ -36,7 +37,8 @@ jicofo {
|
||||
type = XMPP
|
||||
{{ end }}
|
||||
login-url = "{{ $XMPP_DOMAIN }}"
|
||||
enable-auto-login={{ $ENABLE_AUTO_LOGIN }}
|
||||
enable-auto-login = {{ $ENABLE_AUTO_LOGIN }}
|
||||
authentication-lifetime = {{ $JICOFO_AUTH_LIFETIME }}
|
||||
}
|
||||
{{ end }}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user