-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
35 lines (30 loc) · 1.28 KB
/
Copy path.env.example
File metadata and controls
35 lines (30 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# ==========================================================================
# Self-Hosted AI Stack - environment variables
# Copy this file to `.env` and replace every CHANGE_ME value.
# Generate strong random values with: openssl rand -hex 32
# ==========================================================================
# ----- LiteLLM core -----
LITELLM_MASTER_KEY=sk-CHANGE_ME
LITELLM_SALT_KEY=sk-CHANGE_ME
# ----- PostgreSQL (used by LiteLLM) -----
POSTGRES_PASSWORD=CHANGE_ME_strong_password
# DATABASE_URL is consumed by LiteLLM's config.yaml; keep the user in sync with docker-compose.yml
DATABASE_URL=postgresql://llmproxy:CHANGE_ME_strong_password@db:5432/litellm
STORE_MODEL_IN_DB=True
# ----- Open WebUI -----
WEBUI_SECRET_KEY=CHANGE_ME_openssl_rand_hex_32
# Set to true only for the first admin signup, then switch back to false
ENABLE_SIGNUP=false
# ----- Ollama -----
OLLAMA_API_BASE=http://ollama:11434
# ==========================================================================
# External providers (optional) — uncomment and fill only what you need
# ==========================================================================
# OPENAI_API_KEY=
# ANTHROPIC_API_KEY=
# GEMINI_API_KEY=
# OPENROUTER_API_KEY=
# COHERE_API_KEY=
# AZURE_API_KEY=
# AZURE_API_BASE=
# AZURE_API_VERSION=