File size: 2,101 Bytes
4343907
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# ==========================================
# SAAP Environment Configuration Template
# ==========================================
# Copy this file to .env and fill in your actual values
# NEVER commit .env to version control!

# ==========================================
# Application Settings
# ==========================================
ENVIRONMENT=development
DEBUG=true
LOG_LEVEL=INFO
SECRET_KEY=your-secret-key-change-in-production

# ==========================================
# Database Configuration (PostgreSQL)
# ==========================================
POSTGRES_DB=saap_db
POSTGRES_USER=saap_user
POSTGRES_PASSWORD=saap_password
POSTGRES_PORT=5432
DATABASE_URL=postgresql://saap_user:saap_password@postgres:5432/saap_db

# ==========================================
# API Keys (REQUIRED)
# ==========================================
# Colossus API Key (Free Provider - Fallback)
COLOSSUS_API_KEY=your-colossus-api-key-here

# OpenRouter API Key (Primary Provider - Cost-Efficient)
# Get your key from: https://openrouter.ai/keys
OPENROUTER_API_KEY=your-openrouter-api-key-here

# ==========================================
# CORS Settings
# ==========================================
# Comma-separated list of allowed origins
CORS_ORIGINS=http://localhost:5173,http://localhost:80,http://localhost:3000

# ==========================================
# Application Ports
# ==========================================
BACKEND_PORT=8000
FRONTEND_PORT=5173

# ==========================================
# Frontend Environment Variables
# ==========================================
VITE_API_BASE_URL=http://localhost:8000
VITE_WS_URL=ws://localhost:8000/ws

# ==========================================
# Production Deployment Settings
# ==========================================
# Data storage path for production volumes
DATA_PATH=./data

# Number of uvicorn workers (production)
WORKERS=4

# ==========================================
# Optional: Performance & Monitoring
# ==========================================
# SENTRY_DSN=your-sentry-dsn-here
# REDIS_URL=redis://localhost:6379/0