# Application Settings APP_NAME="Ollama Proxy Server" APP_VERSION="8.0.0" LOG_LEVEL="info" # Comma-separated list of Ollama backend servers OLLAMA_SERVERS="http://localhost:11434" # Database URL # For SQLite, use: DATABASE_URL="sqlite+aiosqlite:///./ollama_proxy.db" DATABASE_URL="sqlite+aiosqlite:///./ollama_proxy.db" # Admin User Credentials ADMIN_USER="admin" ADMIN_PASSWORD="changeme" # SECRET_KEY for signing cookies. Generate with: openssl rand -hex 32 SECRET_KEY="dd2a57833f4a2115b02644c3c332822d5b6e405d542a2258c422fb39a8e97b10" # --- Advanced Security --- # Redis URL for Rate Limiting REDIS_URL="redis://localhost:6379/0" # Rate Limiting Settings (requests per minute) RATE_LIMIT_REQUESTS=100 RATE_LIMIT_WINDOW_MINUTES=1 # IP-based Access Control (comma-separated lists) # Leave empty to allow/deny all. If ALLOWED_IPS is set, all others are denied. ALLOWED_IPS="" DENIED_IPS=""