jvb: add ability to configure the shutdown API
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
{{ $PUBLIC_URL_DOMAIN := .Env.PUBLIC_URL | default "https://localhost:8443" | trimPrefix "https://" | trimSuffix "/" -}}
|
||||
{{ $WS_DOMAIN := .Env.JVB_WS_DOMAIN | default $PUBLIC_URL_DOMAIN -}}
|
||||
{{ $WS_SERVER_ID := .Env.JVB_WS_SERVER_ID | default .Env.LOCAL_ADDRESS -}}
|
||||
{{ $COLIBRI_REST_ENABLED := .Env.COLIBRI_REST_ENABLED | default "false" | toBool }}
|
||||
{{ $SHUTDOWN_REST_ENABLED := .Env.SHUTDOWN_REST_ENABLED | default "false" | toBool }}
|
||||
|
||||
videobridge {
|
||||
ice {
|
||||
@@ -33,6 +35,14 @@ videobridge {
|
||||
}
|
||||
}
|
||||
}
|
||||
rest {
|
||||
enabled = {{ $COLIBRI_REST_ENABLED }}
|
||||
}
|
||||
}
|
||||
rest {
|
||||
shutdown {
|
||||
enabled = {{ $SHUTDOWN_REST_ENABLED }}
|
||||
}
|
||||
}
|
||||
stats {
|
||||
enabled = true
|
||||
|
||||
Reference in New Issue
Block a user