saap-plattform / .env.example
Hwandji's picture
feat: initial HuggingFace Space deployment
4343907
raw
history blame
2.1 kB
# ==========================================
# 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