forked from enclava-labs/enclava
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.sqlite.example
More file actions
102 lines (89 loc) · 3.1 KB
/
Copy path.env.sqlite.example
File metadata and controls
102 lines (89 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
90
91
92
93
94
95
96
97
98
99
100
101
102
# ===================================
# ENCLAVA SQLITE CONFIGURATION
# ===================================
# Use this configuration for:
# - Development and testing
# - Single-user deployments
# - Edge deployments with limited resources
#
# Limitations:
# - Plugin database isolation not supported (requires PostgreSQL schemas)
# - Less performant for concurrent writes
# - No partial index support (some query optimizations disabled)
# ===================================
# DATABASE - SQLite
# ===================================
# SQLite file path (relative to backend working directory)
DATABASE_URL=sqlite:///./data/enclava.db
# ===================================
# ADMIN USER (created on first startup only)
# ===================================
ADMIN_EMAIL=admin@example.com
ADMIN_PASSWORD=changeme-use-strong-password
# ===================================
# APPLICATION BASE URL
# ===================================
BASE_URL=localhost
# ===================================
# SECURITY (Required)
# ===================================
JWT_SECRET=your-secure-random-string-at-least-32-characters-long
PRIVATEMODE_API_KEY=your-privatemode-api-key-here
# ===================================
# APPLICATION SETTINGS
# ===================================
APP_ENV=development
APP_DEBUG=false
APP_LOG_LEVEL=INFO
# ===================================
# REDIS (Optional)
# ===================================
# Redis is optional - caching and rate limiting degrade gracefully without it
REDIS_ENABLED=false
# REDIS_URL=redis://localhost:6379
# ===================================
# RAG (Optional)
# ===================================
# RAG database tables work fine with SQLite
# Vector search requires Qdrant regardless of database backend
RAG_ENABLED=false
# If enabling RAG, configure Qdrant:
# QDRANT_URL=http://localhost:6333
# QDRANT_HOST=localhost
# QDRANT_PORT=6333
# ===================================
# PLUGINS - DISABLED (Required for SQLite)
# ===================================
# Plugin database isolation requires PostgreSQL schemas
# This is automatically enforced but explicitly set for clarity
PLUGINS_ENABLED=false
# ===================================
# OTHER MODULES (Optional)
# ===================================
CHATBOTS_ENABLED=true
AGENTS_ENABLED=true
EXTRACT_ENABLED=true
ANALYTICS_ENABLED=true
AUDIT_ENABLED=true
# ===================================
# REDPILL.AI PROVIDER (Optional)
# ===================================
# Enable RedPill.ai for confidential AI inference
# REDPILL_API_KEY=your_redpill_api_key_here
# REDPILL_BASE_URL=https://api.redpill.ai/v1
# ===================================
# LOGGING
# ===================================
LOG_LLM_PROMPTS=false
# ===================================
# FRONTEND (if using frontend)
# ===================================
NODE_ENV=production
NEXT_PUBLIC_APP_NAME=Enclava
# ===================================
# SUMMARY
# ===================================
# Required: DATABASE_URL, JWT_SECRET, ADMIN_EMAIL, ADMIN_PASSWORD, BASE_URL
# Optional: PRIVATEMODE_API_KEY, REDIS_URL, QDRANT_URL
# Disabled: PLUGINS_ENABLED (requires PostgreSQL)
# ===================================