commit 59130845c7bfb3a53045896f3120a6e1bbf239c3 Author: livdebus Date: Wed Sep 30 23:12:22 2026 +0200 Add README diff --git a/README b/README new file mode 100644 index 0000000..867b047 --- /dev/null +++ b/README @@ -0,0 +1,42 @@ +# aido-litellm + +Standalone LiteLLM proxy stack for the AIDO / Onyx ecosystem. + +## Architecture + +- `proxy` — LiteLLM main-stable image, config-mounted read-only. +- `db` — Postgres 16 Alpine for spend logs, user keys and model config persistence. +- `redis` — LRU-bounded Redis for router caching and cooldown state. + +Cross-stack connectivity is provided by the external Docker network `aido-llm`. +AIDO's `api_server` and `background` services attach to the same network so +Onyx can reach the proxy internally at `http://litellm-proxy:4000`. + +## Prerequisites + +- Docker Engine >= 24.x with Compose v2 +- Traefik (or another reverse proxy) on the `web` network if you intend to use + the FQDN labels +- The `aido-llm` Docker network must exist before the first start: + +```bash +make setup-network +```plaintext + +## Quick start + +```bash +# 1. Prepare environment +cp .env.example .env +# Edit .env: set LITELLM_FQDN, INFOMANIAK_API_KEY, and generate secrets. + +# 2. Start the stack +make up + +# 3. Verify health +curl http://localhost:4000/health/liveliness +```plaintext + +## Onyx integration + +In the AIDO / Onyx admin panel, add an OpenAI-compatible provider pointing to: \ No newline at end of file