install and configure @adonisjs/health with SQLite + ClickHouse checks
Adds canonical AdonisJS health-check endpoints using @adonisjs/core/health
(which re-exports @adonisjs/health, already a transitive dependency):
- start/health.ts: registers DbCheck(sqlite) + custom ClickHouseCheck
(uses store.client.ping() from @clickhouse/client)
- app/controllers/health_checks_controller.ts: live + ready actions
- GET /health/live — liveness probe, always open
- GET /health/ready — readiness probe; protected by x-monitoring-secret
header when HEALTH_CHECK_TOKEN env var is set
- 8 new functional tests (169 total, was 161)
- .env.example: documents optional HEALTH_CHECK_TOKEN
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>