mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-22 21:23:04 +05:30
Use trending api for health checks
This commit is contained in:
parent
08390acd0c
commit
170eef58fd
@ -32,7 +32,7 @@ services:
|
|||||||
# statistics_enabled: false
|
# statistics_enabled: false
|
||||||
hmac_key: "CHANGE_ME!!"
|
hmac_key: "CHANGE_ME!!"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: wget -nv --tries=1 --spider http://127.0.0.1:3000/api/v1/comments/jNQXAC9IVRw || exit 1
|
test: wget -nv --tries=1 --spider http://127.0.0.1:3000/api/v1/trending || exit 1
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 2
|
retries: 2
|
||||||
|
Loading…
Reference in New Issue
Block a user