mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Verify response of OsteoView healthcheck
This commit is contained in:
parent
9f0e71f8a0
commit
c0ad9f5359
2 changed files with 2 additions and 0 deletions
|
|
@ -65,6 +65,7 @@
|
||||||
status = 200
|
status = 200
|
||||||
request "/api/_health"
|
request "/api/_health"
|
||||||
with timeout 5 seconds
|
with timeout 5 seconds
|
||||||
|
content = '[{"]Healthy["]:[{}}]'
|
||||||
then alert
|
then alert
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -67,6 +67,7 @@
|
||||||
status = 200
|
status = 200
|
||||||
request "/api/_health"
|
request "/api/_health"
|
||||||
with timeout 5 seconds
|
with timeout 5 seconds
|
||||||
|
content = '[{"]Healthy["]:[{}}]'
|
||||||
then alert
|
then alert
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue