Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

🚅 docs: Updated Example for LiteLLM ports and Volume mount (#2941)

Ventz Petkov37ae484fbc5f
diff --git a/docker-compose.override.yml.example b/docker-compose.override.yml.example
index b5558700ae..f06319bfd9 100644
--- a/docker-compose.override.yml.example
+++ b/docker-compose.override.yml.example
@@ -120,9 +120,13 @@ version: '3.4'
# image: ghcr.io/berriai/litellm:main-latest
# volumes:
# - ./litellm/litellm-config.yaml:/app/config.yaml
+# - ./litellm/application_default_credentials.json:/app/application_default_credentials.json # only if using Google Vertex
+# ports:
+# - "4000:8000"
# command: [ "--config", "/app/config.yaml", "--port", "8000", "--num_workers", "8" ]
# environment:
# OPENAI_API_KEY: none ## needs to be set if ollama's openai api compatibility is used
+# GOOGLE_APPLICATION_CREDENTIALS: /app/application_default_credentials.json ## only if using Google Vertex
# REDIS_HOST: redis
# REDIS_PORT: 6379
# REDIS_PASSWORD: RedisChangeMe