jitsi-launcher: add health endpoint and readiness

This commit is contained in:
Brad Stein 2025-12-25 16:40:37 -03:00
parent a8fdcc5931
commit 0e3d36a5ae
2 changed files with 6 additions and 1 deletions

View File

@ -116,3 +116,8 @@ data:
@app.get("/")
async def root():
return RedirectResponse("/launch")
@app.get("/health")
async def health():
return {"status": "ok"}

View File

@ -35,7 +35,7 @@ spec:
- { name: jwt, mountPath: /var/lib/jitsi-jwt, readOnly: true }
readinessProbe:
httpGet:
path: /launch
path: /health
port: 80
initialDelaySeconds: 5
periodSeconds: 10