41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
# Production Environment Configuration for Render.com
|
|
# Copy this to .env and fill in your values when deploying
|
|
|
|
# Gemini API Configuration
|
|
GEMINI_API_KEY=your_gemini_api_key_here
|
|
GEMINI_MODEL=gemini-2.5-flash
|
|
|
|
# Environment (MUST be "production" for deployment)
|
|
ENVIRONMENT=production
|
|
|
|
# Service Configuration
|
|
AI_SERVICE_PORT=9000
|
|
AI_SERVICE_HOST=0.0.0.0
|
|
|
|
# Production URL (your Render.com app URL)
|
|
# Example: https://hpc-simulation-ai.onrender.com
|
|
PRODUCTION_URL=https://your-app-name.onrender.com
|
|
|
|
# Enrichment Service Integration
|
|
# In production on Render, services communicate internally
|
|
# Leave as localhost since both services run in same container
|
|
ENRICHMENT_SERVICE_URL=http://localhost:8000
|
|
ENRICHMENT_FETCH_LIMIT=10
|
|
|
|
# Demo Mode (enables caching and consistent responses for demos)
|
|
DEMO_MODE=false
|
|
|
|
# Fast Mode (use shorter prompts for faster responses)
|
|
FAST_MODE=true
|
|
|
|
# Strategy Generation Settings
|
|
STRATEGY_COUNT=3 # Number of strategies to generate (3 for testing, 20 for production)
|
|
|
|
# Performance Settings
|
|
BRAINSTORM_TIMEOUT=90
|
|
ANALYZE_TIMEOUT=120
|
|
GEMINI_MAX_RETRIES=3
|
|
|
|
# ElevenLabs API Key (optional, for voice features)
|
|
ELEVENLABS_API_KEY=your_elevenlabs_api_key_here
|