Fix: Use correct health check endpoints for LiteLLM and Letta

Root cause: Status API was using wrong health endpoints:
- LiteLLM /health requires API key auth (returns 401) -> changed to /health/readiness (no auth)
- Letta /api/health returns 404 -> changed to /v1/health/ (correct endpoint)
This commit is contained in:
2026-07-02 05:21:08 +00:00
commit cc9c903d6d
3 changed files with 140 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
FROM node:20-alpine
RUN apk add --no-cache curl
WORKDIR /app
COPY package.json ./
RUN npm install --production
COPY server.js ./
EXPOSE 3100
HEALTHCHECK --interval=30s --timeout=10s --retries=3 CMD curl -sf http://localhost:3100/health || exit 1
CMD ["node", "server.js"]