The obleth Next.js dashboard: what it shows, how to configure it, and how it connects to the Management API.
The control plane is a Next.js dashboard that consumes the obleth Management API exclusively — it never touches Postgres, Redis, or ClickHouse directly. All business logic, validation, and audit logging is in one place (the Management API), and the dashboard is just a UI.
| Environment | URL |
|---|---|
| Docker Compose (dev) | http://localhost:3002 |
| Kubernetes (Helm default) | http://localhost:3000 (via port-forward) or your Ingress host |
In the Docker Compose stack, the dashboard uses dev-admin-token by default. Change it by setting OBLETH_ADMIN_TOKEN and NEXT_PUBLIC_ADMIN_BASE_URL in the control-plane environment.
in_flight, queued, max_in_flightfast, queued, brownout)PATCH /api/v1/tenants/{id}/weight)PUT /api/v1/tenants/{id}/quota)in_flight, queued, served_tokens, share_scoreinput_cost_per_token and output_cost_per_token rates| Variable | Purpose |
|---|---|
OBLETH_ADMIN_BASE_URL | Base URL of the Management API (e.g. http://localhost:9090) |
OBLETH_ADMIN_TOKEN | Admin bearer token for all Management API calls |
DASHBOARD_USERNAME | Basic auth username for the dashboard login page |
DASHBOARD_PASSWORD | Basic auth password |
DASHBOARD_SESSION_SECRET | NextAuth.js session secret (change in production) |
In the Docker Compose stack, these are configured via deploy/docker/.env.