The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
docs add docker quickstart to litellm proxy getting started
Ishaan Jafff97140988832
diff --git a/docs/my-website/docs/index.md b/docs/my-website/docs/index.mdindex 291c51ab03c..a2d3068beb6 100644--- a/docs/my-website/docs/index.md+++ b/docs/my-website/docs/index.md@@ -409,12 +409,51 @@ pip install 'litellm[proxy]'#### Step 1: Start litellm proxy+<Tabs>++<TabItem label="pip package" value="pip">+```shell$ litellm --model huggingface/bigcode/starcoder#INFO: Proxy running on http://0.0.0.0:4000```+</TabItem>++<TabItem label="Docker container" value="docker">+++### Step 1. CREATE config.yaml++Example `litellm_config.yaml`++```yaml+model_list:+ - model_name: gpt-3.5-turbo+ litellm_params:+ model: azure/<your-azure-model-deployment>+ api_base: os.environ/AZURE_API_BASE # runs os.getenv("AZURE_API_BASE")+ api_key: os.environ/AZURE_API_KEY # runs os.getenv("AZURE_API_KEY")+ api_version: "2023-07-01-preview"+```++### Step 2. RUN Docker Image++```shell+docker run \+ -v $(pwd)/litellm_config.yaml:/app/config.yaml \+ -e AZURE_API_KEY=d6*********** \+ -e AZURE_API_BASE=https://openai-***********/ \+ -p 4000:4000 \+ ghcr.io/berriai/litellm:main-latest \+ --config /app/config.yaml --detailed_debug+```++</TabItem>++</Tabs>+#### Step 2: Make ChatCompletions Request to Proxy```pythondiff --git a/docs/my-website/src/pages/index.md b/docs/my-website/src/pages/index.mdindex 291c51ab03c..a2d3068beb6 100644--- a/docs/my-website/src/pages/index.md+++ b/docs/my-website/src/pages/index.md@@ -409,12 +409,51 @@ pip install 'litellm[proxy]'#### Step 1: Start litellm proxy+<Tabs>++<TabItem label="pip package" value="pip">+```shell$ litellm --model huggingface/bigcode/starcoder#INFO: Proxy running on http://0.0.0.0:4000```+</TabItem>++<TabItem label="Docker container" value="docker">+++### Step 1. CREATE config.yaml++Example `litellm_config.yaml`++```yaml+model_list:+ - model_name: gpt-3.5-turbo+ litellm_params:+ model: azure/<your-azure-model-deployment>+ api_base: os.environ/AZURE_API_BASE # runs os.getenv("AZURE_API_BASE")+ api_key: os.environ/AZURE_API_KEY # runs os.getenv("AZURE_API_KEY")+ api_version: "2023-07-01-preview"+```++### Step 2. RUN Docker Image++```shell+docker run \+ -v $(pwd)/litellm_config.yaml:/app/config.yaml \+ -e AZURE_API_KEY=d6*********** \+ -e AZURE_API_BASE=https://openai-***********/ \+ -p 4000:4000 \+ ghcr.io/berriai/litellm:main-latest \+ --config /app/config.yaml --detailed_debug+```++</TabItem>++</Tabs>+#### Step 2: Make ChatCompletions Request to Proxy```python