-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathenv.example
More file actions
68 lines (55 loc) · 1.93 KB
/
env.example
File metadata and controls
68 lines (55 loc) · 1.93 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
# Server Configuration
PORT=3000
NODE_ENV=development
LOG_LEVEL=info
# CORS Configuration
CORS_ORIGINS=http://localhost:3000,http://localhost:5173
# Swagger Base URL
BASE_URL=http://localhost:3000
# Rate Limiting
RATE_LIMIT_WINDOW=60000
RATE_LIMIT_MAX=100
# Supabase Configuration (Required)
SUPABASE_URL=https://your-project.supabase.co
SUPABASE_ANON_KEY=your-anon-key
SUPABASE_SERVICE_KEY=your-service-role-key
# Database Configuration for Knex.js Migrations
# Extract these from your Supabase project settings > Database
SUPABASE_DB_HOST=db.your-project.supabase.co
SUPABASE_DB_PORT=5432
SUPABASE_DB_NAME=postgres
SUPABASE_DB_USER=postgres
SUPABASE_DB_PASSWORD=your-database-password
# Alternative: Use connection string (if you prefer)
# DATABASE_URL=postgresql://postgres:password@db.your-project.supabase.co:5432/postgres
# OpenAI Configuration (Required)
OPENAI_API_KEY=sk-your-openai-api-key
AI_MODEL=gpt-4o-mini
# AI_TEMPERATURE and AI_MAX_TOKENS are now configurable per-company via AI Settings
# These values serve as fallbacks if database settings are not available
AI_TEMPERATURE=0.7
AI_MAX_TOKENS=1000
CHAT_HISTORY_LENGTH=2
# Organization Settings
ORGANIZATION_NAME=Vezlo
ASSISTANT_NAME=Vezlo Assistant
# Authentication
JWT_SECRET=your-super-secret-jwt-key-here-change-this-in-production
DEFAULT_ADMIN_EMAIL=admin@vezlo.org
DEFAULT_ADMIN_PASSWORD=admin123
# Knowledge Base
CHUNK_SIZE=1000
CHUNK_OVERLAP=200
# Migration Security
MIGRATION_SECRET_KEY=your-secure-migration-key-here
# Slack Integration (Optional)
# Get these from: https://api.slack.com/apps
SLACK_BOT_TOKEN=xoxb-your-slack-bot-token
SLACK_SIGNING_SECRET=your-slack-signing-secret
# AI Response Validation (Optional)
# Enables LLM-as-Judge for context validation (requires OPENAI_API_KEY)
AI_VALIDATION_ENABLED=false
# Developer Mode (Optional)
# true = Strict code grounding (for developers/PMs querying codebase)
# false = Friendly generic responses (for end users)
DEVELOPER_MODE=true