LLM Gateway is a small container image that bundles the LiteLLM Proxy. It ships an opinionated entrypoint and a Helm chart to ease running the proxy locally or on Kubernetes.
- Reproducible build: the
Dockerfilepins the Oracle Linux base image by digest and installslitellmwith a specific version. - Minimal runtime: the container creates a dedicated non‑root user and copies only the entrypoint script and its configuration.
- Configurable: point the
LITELLM_CONFIGenvironment variable to a YAML file containing your model configuration. A placeholder file is provided in the repository. - Helm chart: under
chart/llm-gwyou will find a chart ready to deploy the container with common settings.
docker build -t llm-gw .Supply a configuration file and map the service port (default 4000):
docker run --rm -p 4000:4000 \
-v $(pwd)/litellm_config.yaml:/litellm_config.yaml:ro \
llm-gwThe entrypoint prints basic information and forwards all arguments to litellm.
helm install my-gateway ./chart/llm-gwAdjust values in chart/llm-gw/values.yaml to match your environment.
A small test script verifies the behaviour of entrypoint.sh:
./tests/test_entrypoint.shThis project is licensed under the MIT License. See LICENSE for details.