58 lines
1.8 KiB
Plaintext
58 lines
1.8 KiB
Plaintext
# =====================================================
|
|
# Server Configuration
|
|
# =====================================================
|
|
NODE_ENV=development
|
|
PORT=3000
|
|
API_PREFIX=/api
|
|
|
|
# =====================================================
|
|
# Database Configuration (File-based, no DB server needed)
|
|
# =====================================================
|
|
DB_TYPE=better-sqlite3
|
|
DB_DATABASE=./data/db/app.db
|
|
|
|
# =====================================================
|
|
# JWT Authentication
|
|
# =====================================================
|
|
JWT_SECRET=change-this-to-a-random-string-at-least-32-chars
|
|
JWT_EXPIRES_IN=7d
|
|
JWT_REFRESH_SECRET=change-this-to-another-random-string
|
|
JWT_REFRESH_EXPIRES_IN=30d
|
|
|
|
# =====================================================
|
|
# LLM Provider API Keys (Backend Only - Secure)
|
|
# =====================================================
|
|
OPENAI_API_KEY=sk-your-openai-api-key-here
|
|
ANTHROPIC_API_KEY=sk-ant-your-anthropic-api-key-here
|
|
GOOGLE_API_KEY=your-google-api-key-here
|
|
LOCAL_LLM_URL=http://localhost:11434
|
|
|
|
# =====================================================
|
|
# File Storage
|
|
# =====================================================
|
|
UPLOAD_DIR=./data/files
|
|
MAX_FILE_SIZE=10485760
|
|
|
|
# =====================================================
|
|
# CORS Configuration
|
|
# =====================================================
|
|
CORS_ORIGIN=http://localhost:23338
|
|
|
|
# =====================================================
|
|
# Rate Limiting
|
|
# =====================================================
|
|
RATE_LIMIT_TTL=60
|
|
RATE_LIMIT_MAX=100
|
|
|
|
# =====================================================
|
|
# Workflow Configuration
|
|
# =====================================================
|
|
WORKFLOW_MAX_PARALLEL=5
|
|
WORKFLOW_TIMEOUT=300000
|
|
|
|
# =====================================================
|
|
# Logging
|
|
# =====================================================
|
|
LOG_LEVEL=debug
|
|
LOG_DIR=./data/logs
|