Skip to content

Commit 3472ab0

Browse files
author
Cedric Roijakkers
authored
jicofo: add ability to configure health checks
1 parent ec3622b commit 3472ab0

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@ Variable | Description | Default value
422422
`JICOFO_COMPONENT_SECRET` | XMPP component password for Jicofo | s3cr37
423423
`JICOFO_AUTH_USER` | XMPP user for Jicofo client connections | focus
424424
`JICOFO_AUTH_PASSWORD` | XMPP password for Jicofo client connections | passw0rd
425+
`JICOFO_ENABLE_HEALTH_CHECKS` | Enable health checks inside Jicofo, allowing the use of the REST api to check Jicofo's status | false
425426
`JVB_AUTH_USER` | XMPP user for JVB MUC client connections | jvb
426427
`JVB_AUTH_PASSWORD` | XMPP password for JVB MUC client connections | passw0rd
427428
`JVB_STUN_SERVERS` | STUN servers used to discover the server's public IP | stun.l.google.com:19302, stun1.l.google.com:19302, stun2.l.google.com:19302

env.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,9 @@ JICOFO_AUTH_USER=focus
228228
# Base URL of Jicofo's reservation REST API
229229
#JICOFO_RESERVATION_REST_BASE_URL=http://reservation.example.com
230230

231+
# Enable Jicofo's health check REST API (http://<jicofo_base_url>:8888/about/health)
232+
#JICOFO_ENABLE_HEALTH_CHECKS=true
233+
231234
# XMPP user for Jigasi MUC client connections
232235
JIGASI_XMPP_USER=jigasi
233236

jicofo/rootfs/defaults/sip-communicator.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,7 @@ org.jitsi.jicofo.auth.URL=XMPP:{{ .Env.XMPP_DOMAIN }}
1717
{{ if .Env.JICOFO_RESERVATION_REST_BASE_URL }}
1818
org.jitsi.impl.reservation.rest.BASE_URL={{ .Env.JICOFO_RESERVATION_REST_BASE_URL }}
1919
{{ end }}
20+
21+
{{ if .Env.JICOFO_ENABLE_HEALTH_CHECKS | default "0" | toBool }}
22+
org.jitsi.jicofo.health.ENABLE_HEALTH_CHECKS=true
23+
{{ end }}

0 commit comments

Comments
 (0)