mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40:14 +01:00
🚅 docs: Updated Example for LiteLLM ports and Volume mount (#2941)
* Added necessary "ports" section for it to work by default * Added (commented out) example GCP Vertex volume mount for auth config and for ENV variable.
This commit is contained in:
parent
8939d8af37
commit
37ae484fbc
1 changed files with 4 additions and 0 deletions
|
|
@ -120,9 +120,13 @@ version: '3.4'
|
||||||
# image: ghcr.io/berriai/litellm:main-latest
|
# image: ghcr.io/berriai/litellm:main-latest
|
||||||
# volumes:
|
# volumes:
|
||||||
# - ./litellm/litellm-config.yaml:/app/config.yaml
|
# - ./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" ]
|
# command: [ "--config", "/app/config.yaml", "--port", "8000", "--num_workers", "8" ]
|
||||||
# environment:
|
# environment:
|
||||||
# OPENAI_API_KEY: none ## needs to be set if ollama's openai api compatibility is used
|
# 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_HOST: redis
|
||||||
# REDIS_PORT: 6379
|
# REDIS_PORT: 6379
|
||||||
# REDIS_PASSWORD: RedisChangeMe
|
# REDIS_PASSWORD: RedisChangeMe
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue