# =========================================== # POUNCE Backend Environment Variables # =========================================== # Copy this file to .env and fill in your values # =========================================== # ============== CORE ============== SECRET_KEY=your-32-character-secret-key-here DATABASE_URL=sqlite+aiosqlite:///./pounce.db # For PostgreSQL (production): # DATABASE_URL=postgresql+asyncpg://user:password@localhost:5432/pounce ALLOWED_ORIGINS=http://localhost:3000,http://127.0.0.1:3000 SITE_URL=http://localhost:3000 # ============== EMAIL (REQUIRED FOR ALERTS) ============== # Without these, domain monitoring alerts will NOT be sent! SMTP_HOST=smtp.zoho.eu SMTP_PORT=465 SMTP_USER=hello@pounce.ch SMTP_PASSWORD=your-smtp-password SMTP_FROM_EMAIL=hello@pounce.ch SMTP_FROM_NAME=pounce SMTP_USE_SSL=true SMTP_USE_TLS=false # Contact form submissions go here CONTACT_EMAIL=hello@pounce.ch # ============== STRIPE (PAYMENTS) ============== STRIPE_SECRET_KEY=sk_test_xxx STRIPE_WEBHOOK_SECRET=whsec_xxx STRIPE_PRICE_TRADER=price_xxx STRIPE_PRICE_TYCOON=price_xxx # ============== OAUTH ============== # Google OAuth GOOGLE_CLIENT_ID=xxx.apps.googleusercontent.com GOOGLE_CLIENT_SECRET=xxx GOOGLE_REDIRECT_URI=http://localhost:8000/api/v1/oauth/google/callback # GitHub OAuth GITHUB_CLIENT_ID=xxx GITHUB_CLIENT_SECRET=xxx GITHUB_REDIRECT_URI=http://localhost:8000/api/v1/oauth/github/callback # ============== SCHEDULER ============== # When to run daily domain checks (UTC) CHECK_HOUR=6 CHECK_MINUTE=0 # ============== OPTIONAL SERVICES ============== # SEO Juice (uses estimation if not set) MOZ_ACCESS_ID= MOZ_SECRET_KEY= # Sentry Error Tracking SENTRY_DSN= # ============== PRODUCTION SETTINGS ============== # Uncomment for production deployment: # DATABASE_URL=postgresql+asyncpg://user:pass@localhost/pounce # ALLOWED_ORIGINS=https://pounce.ch,https://www.pounce.ch # SITE_URL=https://pounce.ch # GOOGLE_REDIRECT_URI=https://api.pounce.ch/api/v1/oauth/google/callback # GITHUB_REDIRECT_URI=https://api.pounce.ch/api/v1/oauth/github/callback