64 lines
1.6 KiB
Plaintext
64 lines
1.6 KiB
Plaintext
# Django Settings
|
|
DEBUG=False
|
|
SECRET_KEY=your-secret-key-here
|
|
ALLOWED_HOSTS=localhost,127.0.0.1,dubai-analytics.com
|
|
|
|
# Database Configuration
|
|
DB_NAME=dubai_analytics
|
|
DB_USER=postgres
|
|
DB_PASSWORD=your-database-password
|
|
DB_HOST=localhost
|
|
DB_PORT=5432
|
|
|
|
# Redis Configuration
|
|
REDIS_URL=redis://localhost:6379/0
|
|
CELERY_BROKER_URL=redis://localhost:6379/1
|
|
|
|
# Email Configuration
|
|
EMAIL_HOST=smtp.gmail.com
|
|
EMAIL_PORT=587
|
|
EMAIL_USE_TLS=True
|
|
EMAIL_HOST_USER=your-email@gmail.com
|
|
EMAIL_HOST_PASSWORD=your-app-password
|
|
DEFAULT_FROM_EMAIL=noreply@dubai-analytics.com
|
|
|
|
# Sentry Configuration (Optional)
|
|
SENTRY_DSN=your-sentry-dsn-here
|
|
|
|
# Frontend Configuration
|
|
VITE_API_BASE_URL=http://localhost:8000/api/v1
|
|
|
|
# Security Settings
|
|
CORS_ALLOWED_ORIGINS=http://localhost:3000,https://admin.dubai-analytics.com
|
|
|
|
# File Upload Settings
|
|
MAX_UPLOAD_SIZE=10485760 # 10MB
|
|
ALLOWED_FILE_TYPES=csv,xlsx,pdf
|
|
|
|
# Rate Limiting
|
|
RATE_LIMIT_PER_MINUTE=60
|
|
RATE_LIMIT_PER_HOUR=1000
|
|
RATE_LIMIT_PER_DAY=10000
|
|
|
|
# Billing Settings
|
|
STRIPE_PUBLISHABLE_KEY=pk_test_your-stripe-key
|
|
STRIPE_SECRET_KEY=sk_test_your-stripe-secret
|
|
PAYPAL_CLIENT_ID=your-paypal-client-id
|
|
PAYPAL_CLIENT_SECRET=your-paypal-secret
|
|
|
|
# Dubai Pulse API
|
|
DUBAI_PULSE_API_KEY=your-dubai-pulse-api-key
|
|
DUBAI_PULSE_BASE_URL=https://api.dubaipulse.gov.ae
|
|
|
|
# Salesforce Integration
|
|
SALESFORCE_CLIENT_ID=your-salesforce-client-id
|
|
SALESFORCE_CLIENT_SECRET=your-salesforce-client-secret
|
|
SALESFORCE_USERNAME=your-salesforce-username
|
|
SALESFORCE_PASSWORD=your-salesforce-password
|
|
SALESFORCE_SECURITY_TOKEN=your-salesforce-security-token
|
|
SALESFORCE_SANDBOX=False
|
|
|
|
# Monitoring
|
|
PROMETHEUS_ENABLED=True
|
|
GRAFANA_ENABLED=True
|