# --- Essential Site Configuration --- # Your primary domain (e.g., holy.narl.io). Used to derive ALLOWED_HOSTS, CORS, and CSRF settings. DOMAIN="localhost" # Set to a long, random string in production (e.g. 50+ chars) SECRET_KEY="django-insecure-replace-this-in-production" # Set to "false" in production for security and performance DEBUG=true # Custom URL for the Django Admin interface (e.g., my-secret-admin/) ADMIN_URL="admin" # --- Advanced Networking (Optional, derived from DOMAIN if unset) --- # ALLOWED_HOSTS=holy.narl.io,another-domain.com # CSRF_TRUSTED_ORIGINS=https://holy.narl.io # CORS_ALLOWED_ORIGINS=https://holy.narl.io # FRONTEND_URL=https://holy.narl.io # VITE_API_URL=https://holy.narl.io/api/ # --- SMTP Configuration (Required for Email Verification) --- # For development, if EMAIL_HOST is empty, emails are printed to the console. EMAIL_HOST=localhost EMAIL_PORT=587 # Use EMAIL_USE_TLS=true for STARTTLS (usually port 587) EMAIL_USE_TLS=true # Use EMAIL_USE_SSL=true for implicit SSL (usually port 465) EMAIL_USE_SSL=false EMAIL_HOST_USER="your-email@example.com" EMAIL_HOST_PASSWORD="your-password" # Set to 'true' if using a self-signed certificate (e.g. local SMTP server) EMAIL_SKIP_CERT_VERIFICATION=false # --- Frontend Configuration --- # Optional: defaults to ${DOMAIN}/api/ if not set # VITE_API_URL=https://holy.narl.io/api/ VITE_ALLOWED_HOSTS=localhost,holy.narl.io # --- Impressum / Contact Details (Required for German Law ยง 5 TMG) --- VITE_IMPRESSUM_NAME="Your First and Last Name" VITE_IMPRESSUM_STREET="Street Name and House Number" VITE_IMPRESSUM_CITY="Postal Code and City" VITE_IMPRESSUM_EMAIL="your-public-contact@email.com" VITE_IMPRESSUM_PHONE="+49 123 456789"