Compare commits

...

3 Commits

Author SHA1 Message Date
fdb2e91141 Merge remote-tracking branch 'origin/master' 2024-04-24 21:09:38 +02:00
Émilien (perso)
b673695aa2
Merge pull request #4561 from ChunkyProgrammer/use-trending-api-for-health-checks
Use Trending API for health checks
2024-04-10 20:21:17 +07:00
ChunkyProgrammer
170eef58fd Use trending api for health checks 2024-04-04 19:10:27 -04:00

View File

@ -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