mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-02 02:11:58 +00:00
- Replace monolithic `litellm` service with dedicated `ui` (nginx/Next.js, port 3000) and `gateway` (uvicorn/FastAPI, port 4000) services, each building from their own Dockerfile - Update prometheus.yml scrape target from `litellm:4000` → `gateway:4000` - Add litellm/proxy/_experimental/out/ to .gitignore and remove the 680 committed build artefacts; the UI bundle is now produced inside the Docker build, not checked in to source control - Add tests/test_litellm/test_docker_compose.py with 17 static checks covering service presence, build config, ports, env vars, health checks, dependencies, and prometheus scrape targets Resolves LIT-2815 https://claude.ai/code/session_01JVLLUH66aUXF9kxoHcYxWu
7 lines
174 B
YAML
7 lines
174 B
YAML
global:
|
|
scrape_interval: 15s
|
|
|
|
scrape_configs:
|
|
- job_name: 'litellm'
|
|
static_configs:
|
|
- targets: ['gateway:4000'] # gateway service exposes metrics at port 4000
|