# Gemini API Configuration # Get your API key from: https://aistudio.google.com/app/apikey GEMINI_API_KEY=your_gemini_api_key_here # Reference Documents Path (optional) # Defaults to ../reference_docs relative to backend/ # REFERENCE_DOCS_PATH=/path/to/reference_docs # CORS Configuration # Comma-separated list of allowed origins CORS_ORIGINS=http://localhost:3000 # Server Configuration HOST=0.0.0.0 PORT=8000 # Azure AD Configuration (for Microsoft SSO token verification) # Get these from your Azure AD app registration AZURE_TENANT_ID=your_azure_tenant_id_here AZURE_CLIENT_ID=your_azure_client_id_here # Development only - set to "true" to disable authentication (NOT for production) DISABLE_AUTH=false # Database Configuration (PostgreSQL) # Format: postgresql+asyncpg://user:password@host:port/database DATABASE_URL=postgresql+asyncpg://modcomms:modcomms_dev@localhost:5432/modcomms # File Storage Path (for uploaded proofs) # Defaults to ../storage relative to backend/ # FILE_STORAGE_PATH=/path/to/storage # Mailgun Configuration (for support emails) MAILGUN_API_URL=https://api.mailgun.net/v3/your-domain/messages MAILGUN_API_KEY=your_mailgun_api_key_here MAILGUN_FROM=noreply@your-domain.com SUPPORT_EMAIL=support@your-domain.com