modcomms/backend/.env.example
2025-12-18 16:51:27 +00:00

31 lines
1,023 B
Text
Executable file

# 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