From 70e5504b3dfa3d299cbe02e4f90dfd9bc0234bf1 Mon Sep 17 00:00:00 2001 From: David O'Trakoun Date: Tue, 24 Dec 2024 10:06:32 -0500 Subject: [PATCH] Update README.md healthcheck implementation for node-slim --- docs/monitoring/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/monitoring/README.md b/docs/monitoring/README.md index 641abfdc..f06d0e13 100644 --- a/docs/monitoring/README.md +++ b/docs/monitoring/README.md @@ -22,10 +22,10 @@ You can use it to configure health checks performed by your container orchestrat services: whatsupdocker: - image: getwud/wud:5.1.0 + image: getwud/wud:7.2.0 ... healthcheck: - test: wget --no-verbose --tries=1 --no-check-certificate --spider http://localhost:3000 + test: node --eval "fetch('http://localhost:3000').catch(() => process.exit(1))" interval: 10s timeout: 10s retries: 3