jitsi-launcher: add health endpoint and readiness
This commit is contained in:
parent
a8fdcc5931
commit
0e3d36a5ae
@ -116,3 +116,8 @@ data:
|
|||||||
@app.get("/")
|
@app.get("/")
|
||||||
async def root():
|
async def root():
|
||||||
return RedirectResponse("/launch")
|
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 }
|
- { name: jwt, mountPath: /var/lib/jitsi-jwt, readOnly: true }
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /launch
|
path: /health
|
||||||
port: 80
|
port: 80
|
||||||
initialDelaySeconds: 5
|
initialDelaySeconds: 5
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user