jitsi-launcher: add health endpoint and readiness
This commit is contained in:
parent
a8fdcc5931
commit
0e3d36a5ae
@ -116,3 +116,8 @@ data:
|
||||
@app.get("/")
|
||||
async def root():
|
||||
return RedirectResponse("/launch")
|
||||
|
||||
|
||||
@app.get("/health")
|
||||
async def health():
|
||||
return {"status": "ok"}
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user