.envā¢1.66 kB
# Local Development Environment Configuration
# This file is committed to the repository for easy local development setup
# For production, override these values with environment variables
# Server Configuration
SERVER_HOST=127.0.0.1
SERVER_PORT=8000
SERVER_TIMEOUT=30.0
SERVER_RETRY_COUNT=3
HEALTH_CHECK_INTERVAL=300
MAX_CONNECTIONS=100
# Environment
ENVIRONMENT=production
# Logging Configuration
LOG_LEVEL=DEBUG
LOG_FILE_PATH=./logs/weather-mcp-server.log
LOG_MAX_FILE_SIZE=10485760
LOG_BACKUP_COUNT=5
LOG_ENABLE_CONSOLE=true
# Security Configuration (Local Development - Safe Defaults)
ENABLE_CORS=true
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:8080,http://127.0.0.1:3000,http://127.0.0.1:8080
API_KEY_REQUIRED=false
API_KEY=dev-api-key-change-in-production
RATE_LIMIT_PER_MINUTE=1000
REQUEST_SIZE_LIMIT=1048576
# Orchestrator Configuration
LLM_MODEL=llama3
MAX_CONCURRENT_REQUESTS=20
REQUEST_TIMEOUT=60.0
ENABLE_REQUEST_LOGGING=true
MAX_LOCATIONS_PER_QUERY=10
INCLUDE_RAW_DATA=true
INCLUDE_EXECUTION_LOG=true
RESPONSE_FORMAT=friendly
# Ollama Configuration (for local LLM)
OLLAMA_HOST=http://localhost:11434
OLLAMA_MODEL=llama3
OLLAMA_TIMEOUT=60.0
ENABLE_ADVANCED_ORCHESTRATION=true
# SSL Configuration (optional for HTTPS)
# SSL_CERT_PATH=/path/to/cert.pem
# SSL_KEY_PATH=/path/to/key.pem
# External Services Configuration (optional - uncomment if needed)
# NWS_API_KEY=your-nws-api-key-here
# WTTR_API_KEY=your-wttr-api-key-here
# Monitoring Configuration (optional - uncomment if needed)
# PROMETHEUS_PORT=9090
HEALTH_CHECK_URL=http://localhost:8000/health
# Development Mode Settings
DEBUG_MODE=true
ENABLE_DEV_ENDPOINTS=true