69f8438a36
- Implemented domain management page with a list of monitored domains and their DMARC, SPF, and DKIM statuses. - Created reports page with filtering options for domain, report type, and date range, displaying DMARC reports. - Developed settings page for IMAP configuration and DMARC policy management, including form validation and feedback. - Added upload page for DMARC report files with drag-and-drop functionality and file type validation. - Integrated Alpine.js for interactivity and dynamic data handling across all templates.
28 lines
872 B
Bash
28 lines
872 B
Bash
# 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"
|
|
|
|
# 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" |