-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.test
More file actions
89 lines (76 loc) · 3.1 KB
/
.env.test
File metadata and controls
89 lines (76 loc) · 3.1 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# ============================================================================
# SECOND BRAIN DATABASE - TEST ENVIRONMENT
# ============================================================================
# Copy this file to .env.test for testing with Docker Compose
# ============================================================================
# APPLICATION SETTINGS
# ============================================================================
APP_NAME=Second Brain Database Test
ENVIRONMENT=test
DEBUG=False
LOG_LEVEL=WARNING
HOST=0.0.0.0
PORT=8000
# ============================================================================
# DOCKER COMPOSE SETTINGS
# ============================================================================
IMAGE_TAG=test
# MongoDB Configuration (Test)
MONGODB_USERNAME=testuser
MONGODB_PASSWORD=testpassword
MONGODB_DATABASE=test_second_brain_database
MONGODB_URL=mongodb://testuser:testpassword@mongo:27017/test_second_brain_database?authSource=admin
# Redis Configuration (Test)
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_DB=0
REDIS_URL=redis://redis:6379/0
# Qdrant Configuration (Test)
QDRANT_HOST=qdrant
QDRANT_PORT=6333
QDRANT_API_KEY=
QDRANT_HTTPS=False
# ============================================================================
# SECURITY & AUTHENTICATION
# ============================================================================
JWT_SECRET_KEY=test-secret-key
JWT_ALGORITHM=HS256
JWT_ACCESS_TOKEN_EXPIRE_MINUTES=5
JWT_REFRESH_TOKEN_EXPIRE_DAYS=1
ENCRYPTION_KEY=test-fernet-key
FERNET_KEY=test-fernet-key
# ============================================================================
# CELERY CONFIGURATION
# ============================================================================
CELERY_BROKER_URL=redis://redis:6379/0
CELERY_RESULT_BACKEND=redis://redis:6379/0
CELERY_LOG_LEVEL=warning
CELERY_WORKER_CONCURRENCY=1
CELERY_MAX_TASKS_PER_CHILD=100
# ============================================================================
# AI & LLM CONFIGURATION (Minimal for tests)
# ============================================================================
OLLAMA_HOST=http://ollama:11434
OLLAMA_BASE_URL=http://ollama:11434
LANGCHAIN_ENABLED=False
# ============================================================================
# VECTOR SEARCH & RAG CONFIGURATION
# ============================================================================
QDRANT_COLLECTION_NAME=test_embeddings
LLAMAINDEX_ENABLED=False
# ============================================================================
# CORS CONFIGURATION
# ============================================================================
CORS_ENABLED=True
CORS_ORIGINS=*
# ============================================================================
# FEATURE FLAGS (Minimal for tests)
# ============================================================================
FEATURE_AI_AGENTS=False
FEATURE_VOICE_PROCESSING=False
FEATURE_DOCUMENT_PROCESSING=True
FEATURE_MCP_SERVER=False
# ============================================================================
# UVICORN CONFIGURATION
# ============================================================================
UVICORN_WORKERS=1