jigasi: add toggle to enable REST shutdown

pull/1585/head
Daniel McAssey 1 year ago committed by GitHub
parent 6bb2455b96
commit b5b8ea28cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      jigasi.yml
  2. 4
      jigasi/rootfs/defaults/sip-communicator.properties

@ -47,6 +47,7 @@ services:
- GC_CLIENT_EMAIL - GC_CLIENT_EMAIL
- GC_CLIENT_ID - GC_CLIENT_ID
- GC_CLIENT_CERT_URL - GC_CLIENT_CERT_URL
- SHUTDOWN_REST_ENABLED
- SENTRY_DSN="${JIGASI_SENTRY_DSN:-0}" - SENTRY_DSN="${JIGASI_SENTRY_DSN:-0}"
- SENTRY_ENVIRONMENT - SENTRY_ENVIRONMENT
- SENTRY_RELEASE - SENTRY_RELEASE

@ -8,6 +8,7 @@
{{ $XMPP_PORT := .Env.XMPP_PORT | default "5222" -}} {{ $XMPP_PORT := .Env.XMPP_PORT | default "5222" -}}
{{ $XMPP_SERVER := .Env.XMPP_SERVER | default "xmpp.meet.jitsi" -}} {{ $XMPP_SERVER := .Env.XMPP_SERVER | default "xmpp.meet.jitsi" -}}
{{ $XMPP_SERVERS := splitList "," $XMPP_SERVER -}} {{ $XMPP_SERVERS := splitList "," $XMPP_SERVER -}}
{{ $SHUTDOWN_REST_ENABLED := .Env.SHUTDOWN_REST_ENABLED | default "false" | toBool -}}
{{ $DISABLE_SIP := .Env.JIGASI_DISABLE_SIP | default "false" | toBool -}} {{ $DISABLE_SIP := .Env.JIGASI_DISABLE_SIP | default "false" | toBool -}}
{{/* assign env from context, preserve during range when . is re-assigned */}} {{/* assign env from context, preserve during range when . is re-assigned */}}
{{ $ENV := .Env -}} {{ $ENV := .Env -}}
@ -20,6 +21,9 @@ net.java.sip.communicator.impl.neomedia.codec.audio.opus.encoder.COMPLEXITY=10
# Disables packet logging # Disables packet logging
net.java.sip.communicator.packetlogging.PACKET_LOGGING_ENABLED=false net.java.sip.communicator.packetlogging.PACKET_LOGGING_ENABLED=false
# Control REST Shutdown
org.jitsi.jigasi.ENABLE_REST_SHUTDOWN={{ $SHUTDOWN_REST_ENABLED }}
# SIP account # SIP account
net.java.sip.communicator.impl.protocol.sip.acc1=acc1 net.java.sip.communicator.impl.protocol.sip.acc1=acc1
{{ if .Env.JIGASI_SIP_SERVER }} {{ if .Env.JIGASI_SIP_SERVER }}

Loading…
Cancel
Save