# DMARQ Environment Variables
#
# Copy this file to .env and fill in the values for your environment
# Example: cp .env.example .env

# Application Settings
PROJECT_NAME="DMARQ"
SECRET_KEY="CHANGE_THIS_TO_A_RANDOM_SECRET_IN_PRODUCTION"

# Database
DATABASE_URL="sqlite:///./dmarq.db"

# IMAP Settings for DMARC Report Retrieval
IMAP_SERVER="mail.example.com"  # Required for IMAP polling
IMAP_PORT=993                   # Default for SSL
IMAP_USERNAME="dmarc@example.com"
IMAP_PASSWORD="your_imap_password" # Consider using a secrets manager in production
# CORS Origins (comma separated)
BACKEND_CORS_ORIGINS="http://localhost:3000,http://localhost:5173"

# Admin User (first-time setup)
FIRST_SUPERUSER="admin@example.com"
FIRST_SUPERUSER_PASSWORD="adminpassword"

# Optional Cloudflare API Integration (for Milestone 8)
# CLOUDFLARE_API_TOKEN="your_cloudflare_api_token"
# CLOUDFLARE_ZONE_ID="your_cloudflare_zone_id"