-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
49 lines (40 loc) · 1.27 KB
/
.env.example
File metadata and controls
49 lines (40 loc) · 1.27 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
# Local Model Services (NO API KEYS REQUIRED!)
LM_STUDIO_URL=http://127.0.0.1:1234/v1
CLIP_SERVICE_URL=http://127.0.0.1:8002
LLAVA_SERVICE_URL=http://127.0.0.1:8003
# API Authentication
API_TOKENS=generate_secure_token_here
# PostgreSQL Settings
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_DB=secondbrain
POSTGRES_USER=postgres
POSTGRES_PASSWORD=your_postgres_password_here
# Qdrant Settings
QDRANT_HOST=localhost
QDRANT_PORT=6333
QDRANT_GRPC_PORT=6334
QDRANT_COLLECTION=second_brain_test
QDRANT_VECTOR_SIZE=1536
QDRANT_DISTANCE=Cosine
# Data Directory
DATA_DIR=./data/memories
# Environment (development/staging/production)
APP_ENV=production
# Cipher Integration Settings
CIPHER_ENABLED=false
CIPHER_URL=http://localhost:3000
CIPHER_SYNC_INTERVAL=300
CIPHER_ENABLE_MCP=false
CIPHER_CONFLICT_RESOLUTION=newest
# Google Drive OAuth Settings (optional)
# GOOGLE_CLIENT_ID=your_client_id_here
# GOOGLE_CLIENT_SECRET=your_client_secret_here
# GOOGLE_REDIRECT_URI=http://localhost:8000/api/v1/gdrive/callback
# Database Settings
USE_MOCK_DATABASE=false
DATABASE_URL=postgresql://user:password@host:port/database
# JWT Settings (generate with: python -c "import secrets; print(secrets.token_urlsafe(64))")
JWT_SECRET_KEY=generate_secure_secret_here
JWT_ALGORITHM=HS256
JWT_EXPIRATION_DELTA=30