-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
67 lines (51 loc) · 2.11 KB
/
.env.example
File metadata and controls
67 lines (51 loc) · 2.11 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
# Chat Provider, remember to set the api key / base url / model for the provider
CHAT_PROVIDER=openai
# Embeddings Provider, remember to set the api key / base url / model for the provider
EMBEDDINGS_PROVIDER=openai
# OpenAI settings (required if CHAT_PROVIDER=openai or EMBEDDINGS_PROVIDER=openai)
OPENAI_API_KEY=your-openai-api-key-here
OPENAI_API_BASE=https://api.openai.com/v1
OPENAI_MODEL=gpt-4
OPENAI_EMBEDDINGS_MODEL=text-embedding-ada-002
# Deepseek settings (required if CHAT_PROVIDER=deepseek)
DEEPSEEK_API_KEY=your-deepseek-api-key-here
DEEPSEEK_API_BASE=https://api.deepseek.com/v1
# Deepseek model could be deepseek-chat or deepseek-reasoner
DEEPSEEK_MODEL=deepseek-chat
# Ollama settings (required if CHAT_PROVIDER=ollama, in docker compose, use host.docker.internal instead of localhost)
# If you are using macOS with docker-compose, you can use host.docker.internal
OLLAMA_API_BASE=http://host.docker.internal:11434
# If you used a compiled installation, you can use http://localhost:11434
# OLLAMA_API_BASE=http://localhost:11434
# If you are a Linux server using docker-compose, you need to use the host machine's IP address.
# OLLAMA_API_BASE=http://172.17.0.1:11434
OLLAMA_MODEL=deepseek-r1:7b
# Ollama Embedding Model (required if EMBEDDINGS_PROVIDER=ollama)
OLLAMA_EMBEDDINGS_MODEL=nomic-embed-text
# DashScope settings (optional - required only if using DashScope)
DASH_SCOPE_API_KEY=
DASH_SCOPE_EMBEDDINGS_MODEL=
# MinIO settings (required)
MINIO_ENDPOINT=minio:9000
MINIO_ACCESS_KEY=minioadmin
MINIO_SECRET_KEY=minioadmin
MINIO_BUCKET_NAME=documents
# Vector Store settings (required)
VECTOR_STORE_TYPE=chroma
# Chroma DB settings (required if VECTOR_STORE_TYPE=chroma)
CHROMA_DB_HOST=chromadb
CHROMA_DB_PORT=8000
# Qdrant DB settings (optional - required only if VECTOR_STORE_TYPE=qdrant)
QDRANT_URL=http://localhost:6333
QDRANT_PREFER_GRPC=true
# MySQL settings (required)
MYSQL_SERVER=db
MYSQL_PORT=3306
MYSQL_USER=ragwebui
MYSQL_PASSWORD=ragwebui
MYSQL_DATABASE=ragwebui
# JWT settings (required)
SECRET_KEY=your-secret-key-here
ACCESS_TOKEN_EXPIRE_MINUTES=10080
# Timezone settings (optional)
TZ=Asia/Shanghai