# ============================================ # Website Monitoring — Environment Variables # ============================================ # Copy this file to .env and fill in your values. # Used by docker-compose and local development. # ── PostgreSQL ────────────────────────────── POSTGRES_USER=monitoring POSTGRES_PASSWORD=monitoring_pass POSTGRES_DB=monitoring # ── Backend ───────────────────────────────── PORT=5000 DATABASE_URL=postgresql://monitoring:monitoring_pass@localhost:5432/monitoring CORS_ORIGIN=http://localhost:3000 # ── Frontend (Supabase) ──────────────────── NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key SUPABASE_SERVICE_ROLE_KEY=your-service-role-key # ── Security ──────────────────────────────── # Required in production: protects /api/cron/* endpoints CRON_SECRET=generate-a-random-secret-here # ── Optional Services ─────────────────────── # Email notifications (Resend — free tier: 3000 emails/mo) RESEND_API_KEY=re_your_resend_key # Lighthouse backend URL (for automated scans) LIGHTHOUSE_SERVICE_URL=http://localhost:5000