-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
69 lines (58 loc) · 1.6 KB
/
Copy pathenv.example
File metadata and controls
69 lines (58 loc) · 1.6 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# GraphRAG API Service Configuration
# Copy this file to .env and update with your values
# ====================
# CORE SETTINGS
# ====================
APP_NAME=GraphRAG API Service
DEBUG=false
PORT=8001
LOG_LEVEL=INFO
# ====================
# DEPLOYMENT MODE
# ====================
# Choose your deployment mode:
# - "local" for development with Ollama
# - "cloud" for production with Google Cloud
# For Local Development (Ollama)
# -------------------------------
LLM_PROVIDER=ollama
OLLAMA_BASE_URL=http://localhost:11434
OLLAMA_LLM_MODEL=gemma2:2b
OLLAMA_EMBEDDING_MODEL=nomic-embed-text
# For Production (Google Cloud)
# -----------------------------
# LLM_PROVIDER=google_gemini
# GOOGLE_API_KEY=your-google-api-key
# GOOGLE_PROJECT_ID=your-project-id
# GEMINI_MODEL=gemini-1.5-flash
# ====================
# DATABASE (Simplified)
# ====================
DATABASE_TYPE=sqlite
DATABASE_PATH=data/graphrag.db
# ====================
# CACHE (Simplified)
# ====================
CACHE_TYPE=memory
CACHE_TTL=3600
# ====================
# SECURITY
# ====================
# Development: Set AUTH_ENABLED=false for easier testing
# Production: Set AUTH_ENABLED=true and use a strong JWT_SECRET_KEY
AUTH_ENABLED=false
JWT_SECRET_KEY=change-this-in-production-use-32-chars-minimum
# ====================
# OPTIONAL SETTINGS
# ====================
# These have sensible defaults and can be left unchanged
# Performance
MAX_WORKERS=2
CONNECTION_POOL_SIZE=5
REQUEST_TIMEOUT=300
# Rate Limiting
DEFAULT_RATE_LIMIT=1000
RATE_LIMIT_WINDOW=3600
# GraphRAG Paths (optional)
# GRAPHRAG_CONFIG_PATH=config/settings.yaml
# GRAPHRAG_DATA_PATH=data/