From cceb0ec79857eb2a10b587f2166adaa19ce439d1 Mon Sep 17 00:00:00 2001 From: kisfenyo Date: Thu, 12 Feb 2026 13:21:12 +0100 Subject: [PATCH] updated docmost health-check command --- templates/docmost/docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/docmost/docker-compose.yml b/templates/docmost/docker-compose.yml index 8062498..0e2076b 100644 --- a/templates/docmost/docker-compose.yml +++ b/templates/docmost/docker-compose.yml @@ -33,7 +33,7 @@ services: - traefik-public - docmost-internal healthcheck: - test: ["CMD", "wget", "--spider", "-q", "http://localhost:3000/"] + test: ["CMD", "node", "-e", "const http = require('http'); http.get('http://localhost:3000/', (r) => { process.exit(r.statusCode === 200 ? 0 : 1) }).on('error', () => process.exit(1))"] interval: 30s timeout: 5s retries: 3 @@ -87,4 +87,4 @@ volumes: networks: traefik-public: external: true - docmost-internal: + docmost-internal: \ No newline at end of file