feat: use virtual key for open-webui
This commit is contained in:
parent
55630095f8
commit
582194f8f5
2 changed files with 5 additions and 1 deletions
|
|
@ -13,6 +13,10 @@ DEEPINFRA_API_KEY=...
|
|||
GROQ_API_KEY=gsk_...
|
||||
CEREBRAS_API_KEY=...
|
||||
|
||||
# --- Open WebUI ---
|
||||
# Virtual key from LiteLLM (create in LiteLLM UI → Virtual Keys)
|
||||
OPENWEBUI_API_KEY=sk-...
|
||||
|
||||
# --- Cloudflare Tunnel ---
|
||||
# Create a tunnel in Cloudflare Zero Trust dashboard → Networks → Tunnels
|
||||
# Copy the token from the tunnel install command
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ services:
|
|||
environment:
|
||||
- OLLAMA_BASE_URL=
|
||||
- OPENAI_API_BASE_URL=http://litellm:4000/v1
|
||||
- OPENAI_API_KEY=${LITELLM_MASTER_KEY}
|
||||
- OPENAI_API_KEY=${OPENWEBUI_API_KEY}
|
||||
- ENABLE_RAG_WEB_SEARCH=true
|
||||
- RAG_WEB_SEARCH_ENGINE=searxng
|
||||
- SEARXNG_QUERY_URL=http://searxng:8080/search?q=<query>&format=json
|
||||
|
|
|
|||
Loading…
Reference in a new issue