quantumtaskai-caprover/.env.production.template
thecyberlearn b0e8c917ef Initial clean CapRover deployment - no secrets
Complete Django AI agent marketplace with security optimizations
and clean deployment documentation without any API keys or secrets.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-04 10:50:55 +05:30

86 lines
3.7 KiB
Plaintext

# 🔐 Production Environment Variables Template
# Copy this file and replace placeholder values with your actual production values
# NEVER commit this file with real values to version control
# ========================================
# 🔒 CORE SECURITY SETTINGS
# ========================================
SECRET_KEY=django-insecure-REPLACE-WITH-50-RANDOM-CHARACTERS-FOR-PRODUCTION
DEBUG=False
ALLOWED_HOSTS=your-project-name.railway.app,quantumtaskai.com,www.quantumtaskai.com
CSRF_TRUSTED_ORIGINS=https://your-project-name.railway.app,https://quantumtaskai.com,https://www.quantumtaskai.com
# ========================================
# 📧 EMAIL CONFIGURATION
# ========================================
EMAIL_BACKEND=django.core.mail.backends.smtp.EmailBackend
EMAIL_HOST=smtp.gmail.com
EMAIL_PORT=587
EMAIL_USE_TLS=True
EMAIL_HOST_USER=your-email@gmail.com
EMAIL_HOST_PASSWORD=your-16-character-app-password
DEFAULT_FROM_EMAIL=Quantum Tasks AI <noreply@quantumtaskai.com>
# ========================================
# 💳 STRIPE PAYMENT CONFIGURATION
# ========================================
STRIPE_SECRET_KEY=sk_live_your_stripe_secret_key_here
STRIPE_WEBHOOK_SECRET=whsec_your_webhook_endpoint_secret
# ========================================
# 🤖 N8N AI AGENT WEBHOOKS (External Server)
# ========================================
# IMPORTANT: These URLs point to your SEPARATE N8N instance
# Replace with your actual N8N webhook URLs
# Option A: N8N Cloud
N8N_WEBHOOK_DATA_ANALYZER=https://yourworkspace.app.n8n.cloud/webhook/data-analyzer
N8N_WEBHOOK_FIVE_WHYS=https://yourworkspace.app.n8n.cloud/webhook/five-whys
N8N_WEBHOOK_JOB_POSTING=https://yourworkspace.app.n8n.cloud/webhook/job-posting
N8N_WEBHOOK_SOCIAL_ADS=https://yourworkspace.app.n8n.cloud/webhook/social-ads
# Option B: Self-hosted N8N (comment out Option A if using this)
# N8N_WEBHOOK_DATA_ANALYZER=https://your-n8n-server.com/webhook/data-analyzer
# N8N_WEBHOOK_FIVE_WHYS=https://your-n8n-server.com/webhook/five-whys
# N8N_WEBHOOK_JOB_POSTING=https://your-n8n-server.com/webhook/job-posting
# N8N_WEBHOOK_SOCIAL_ADS=https://your-n8n-server.com/webhook/social-ads
# ========================================
# 🌤️ EXTERNAL API KEYS
# ========================================
OPENWEATHER_API_KEY=your_openweather_api_key_here
# ========================================
# ⚡ PERFORMANCE & CACHING (Optional)
# ========================================
# Redis URL - Automatically set by Railway Redis service
# REDIS_URL=redis://default:password@host:port
# ========================================
# 🔍 MONITORING & DEBUGGING
# ========================================
# Optional: Set to your admin email for notifications
ADMIN_EMAIL=abhay@quantumtaskai.com
# ========================================
# 📊 ANALYTICS (Optional)
# ========================================
# Add analytics service keys if needed
# GOOGLE_ANALYTICS_ID=your_ga_id_here
# ========================================
# NOTES FOR SETUP
# ========================================
# 1. Generate SECRET_KEY using: python -c "from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())"
# 2. EMAIL_HOST_PASSWORD should be Gmail App Password (16 characters), not regular password
# 3. Use LIVE Stripe keys for production (sk_live_... and whsec_...)
# 4. N8N webhooks must be on external server accessible via HTTPS
# 5. Test all variables before deploying to production
# ========================================
# RAILWAY AUTOMATIC VARIABLES
# ========================================
# These are automatically set by Railway - DO NOT SET MANUALLY:
# - DATABASE_URL (PostgreSQL connection string)
# - PORT (Application port)
# - RAILWAY_* (Railway-specific variables)