Date: 15/02/2026 Status: TERMINE Duree: ~40 min
Deployer le squelette backend Bun/Elysia pour le nouveau dashboard-33800.
backend/ avec src/, src/collectors/, src/routes/frontend/ (vide, pour Phase 3)package.json : elysia + @elysiajs/corstsconfig.json : config Bun/ESNextDockerfile : oven/bun:1-alpine, HEALTHCHECK wgetsrc/config.ts : validation env vars (requireEnv/optionalEnv)src/cache.ts : cache memoire TTL (Map + expiresAt)src/index.ts : Elysia + CORS regex + auth X-API-Key + security headers + health checksrc/collectors/ai.ts : collecteur ai-orchestrator (status/queue/jobs/models)src/collectors/services.ts : health ping 9 servicessrc/routes/ai.ts : /api/ai/* avec TTL cachesrc/routes/services.ts : /api/services/health avec TTL cacheconf.prod.gouroubleu.yml : smart-deploy config (port 5520, nginx private+ssl, loki logs).gitlab-ci.yml : include ci-templates/deploy.yml (premiere pipeline pour ce repo)prod.env : DASHBOARD_API_KEY, CONNECTORS_API_KEYdockerfile: backend/Dockerfile + chemins COPY avec prefix backend/name: dashboard-33800 pour matcher le chemin registry GitLabdomain deplace dans section nginx: (smart-deploy utilise CFG_nginx_domain)| Test | Resultat |
|---|---|
| Pipeline CI/CD | SUCCESS (build + test + push + deploy + healthcheck) |
| /health | {"status":"ok","dependencies":{"connectors_api":"ok","ai_orchestrator":"ok"}} |
| Auth sans cle | 401 Authentication required |
| Auth avec cle | 200 OK |
| /api/services/health | 8/9 services OK (gitlab endpoint a ajuster) |
https://dashboard-api.33800.nowhere84.com/health (public)https://dashboard-api.33800.nowhere84.com/api/services/health (auth)https://dashboard-api.33800.nowhere84.com/api/ai/status (auth, a corriger - ai-orchestrator auth format)d17740959fb099a7e83e51485aab0683fb2fbcc9a71beadcec4bff99d02d0ea8gouroubleu/dashboard-33800)domain: sous nginx: section, PAS au top level