From 05850f3840b2ad4bb83b8120ce01a5155a252779 Mon Sep 17 00:00:00 2001 From: taogaetz <59668529+taogaetz@users.noreply.github.com> Date: Sun, 14 Sep 2025 15:44:03 -0400 Subject: [PATCH] update healthcheck to use 127.xx --- docker-compose.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 0336778..0906457 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,10 +13,11 @@ services: - MAGIC_LINK_TOKEN=${MAGIC_LINK_TOKEN} - CLOUDINARY_URL=${CLOUDINARY_URL} - ORIGIN=${ORIGIN} + - ACCESS_PIN=${ACCESS_PIN} volumes: - /home/chefbible/data:/app/data healthcheck: - test: [ "CMD", "node", "-e", "require('http').get('http://localhost:3000/health', (res) => { process.exit(res.statusCode === 200 ? 0 : 1) })" ] + test: [ "CMD", "wget", "--quiet", "--tries=1", "--spider", "http://127.0.0.1:3000/health" ] interval: 30s timeout: 10s retries: 3