fix: support health endpoint compatibility #4
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/health-endpoint-compat"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
/api/health/api/readyroute/healthas a compatibility alias for deployment platforms that probe that default pathLLM WikipediaDebugging note
The pasted HTML is a Next.js route miss, not a mounted-wiki health failure. In the current published image,
/healthreturns that app 404 shape, while/api/healthreturns JSON. This change keeps the canonical Docker healthcheck on/api/healthand also serves the same JSON at/healthso infra defaults do not hit the app 404 page.The supplied host mount
/media/data/volumes/hermes_agent/runtime/wiki/brain:/data/wiki:rodoes not exist inside this sandbox, so I could not verify that exact host path here. The container-side path/data/wikiis correct for the app.Testing
LLM Wikipedia/api/healthand/healthboth return JSON 200 with 305 pages/api/health; container became healthy;/api/healthand/healthboth returned JSON 200