From 2c0788db3546c8d0b750c559ba21cc9701c2f2e0 Mon Sep 17 00:00:00 2001 From: kisfenyo Date: Sun, 19 Jul 2026 02:32:58 +0200 Subject: [PATCH] zipline: health path /api/health -> /api/healthcheck (404 in v4) With the DATABASE_URL fix zipline started cleanly ('server started hostname=0.0.0.0 port=3000') but stayed unhealthy. Probing the running container from inside: /api/health -> 404 /api/healthcheck -> 200 v4 renamed the endpoint; the template still probed the v3 path. Campaign 7 catalog sweep. Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_01Nn3VgQk9iwEGgyx6QJ2NvE --- templates/zipline/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/zipline/docker-compose.yml b/templates/zipline/docker-compose.yml index d41276d..8b56c25 100644 --- a/templates/zipline/docker-compose.yml +++ b/templates/zipline/docker-compose.yml @@ -35,7 +35,7 @@ services: limits: memory: 512M healthcheck: - test: ["CMD", "node", "-e", "const http = require('http'); http.get('http://127.0.0.1:3000/api/health', (r) => { process.exit(r.statusCode === 200 ? 0 : 1) }).on('error', () => process.exit(1))"] + test: ["CMD", "node", "-e", "const http = require('http'); http.get('http://127.0.0.1:3000/api/healthcheck', (r) => { process.exit(r.statusCode === 200 ? 0 : 1) }).on('error', () => process.exit(1))"] interval: 30s timeout: 5s retries: 3