Use trending api for health checks

pull/4561/head
ChunkyProgrammer 2024-04-04 19:10:27 -04:00
rodzic 08390acd0c
commit 170eef58fd
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -32,7 +32,7 @@ services:
# statistics_enabled: false
hmac_key: "CHANGE_ME!!"
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
timeout: 5s
retries: 2