-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
48 lines (40 loc) · 1.15 KB
/
.env.example
File metadata and controls
48 lines (40 loc) · 1.15 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
# Application
APP_NAME=InsightDocs
APP_ENV=development
APP_PORT=8000
API_PREFIX=/api/v1
DEBUG=true
LOG_LEVEL=INFO
# Security
SECRET_KEY=replace-with-a-long-random-secret
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30
REFRESH_TOKEN_EXPIRE_DAYS=7
ALLOWED_ORIGINS=http://localhost:3000,http://127.0.0.1:3000
# Database
DATABASE_URL=postgresql://user:password@localhost:5432/insightdocs
# Redis
REDIS_URL=redis://localhost:6379/0
# Celery
CELERY_BROKER_URL=redis://localhost:6379/0
CELERY_RESULT_BACKEND=redis://localhost:6379/1
# LLM (optional; users can also rely on BYOK)
GEMINI_API_KEY=
GEMINI_MODEL=gemini-2.5-flash
GEMINI_MODEL_FALLBACKS=gemini-2.0-flash,gemini-1.5-flash,gemini-1.5-pro,gemini-2.0-pro
GEMINI_TEMPERATURE=0.7
# Milvus
MILVUS_URI=http://localhost:19530
MILVUS_TOKEN=replace-with-milvus-token
MILVUS_COLLECTION=insightdocscollection
MILVUS_DIM=768
# Embeddings
VECTOR_DIMENSION=384
EMBEDDING_MODEL_NAME=BAAI/bge-base-en-v1.5
LEGACY_EMBEDDING_MODEL=all-MiniLM-L6-v2
# Storage
S3_ENDPOINT=http://localhost:9000
AWS_ACCESS_KEY_ID=replace-with-access-key
AWS_SECRET_ACCESS_KEY=replace-with-secret-key
S3_BUCKET_NAME=insightdocs
AWS_DEFAULT_REGION=us-east-1