pounce/backend/env.example
Yves Gugger 5b99145fb2
Some checks failed
CI / Frontend Lint & Type Check (push) Has been cancelled
CI / Frontend Build (push) Has been cancelled
CI / Backend Lint (push) Has been cancelled
CI / Backend Tests (push) Has been cancelled
CI / Docker Build (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
Deploy / Build & Push Images (push) Has been cancelled
Deploy / Deploy to Server (push) Has been cancelled
Deploy / Notify (push) Has been cancelled
fix: banner position and Sedo affiliate links
2025-12-16 09:02:00 +01:00

74 lines
2.2 KiB
Plaintext

# ===========================================
# 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=
# ============== ZONE FILE SERVICES ==============
# ICANN CZDS (Centralized Zone Data Service)
# Register at: https://czds.icann.org/
CZDS_USERNAME=
CZDS_PASSWORD=
CZDS_DATA_DIR=/tmp/pounce_czds
# ============== 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