91 lines
3.0 KiB
Plaintext
91 lines
3.0 KiB
Plaintext
|
|
# Phase 3B: Production Environment Configuration
|
||
|
|
|
||
|
|
# Application Configuration
|
||
|
|
REACT_APP_VERSION=3.0.0
|
||
|
|
REACT_APP_BUILD_DATE=2024-10-05
|
||
|
|
REACT_APP_ENV=production
|
||
|
|
REACT_APP_API_BASE_URL=https://api.miraclesinmotion.org
|
||
|
|
REACT_APP_CDN_URL=https://cdn.miraclesinmotion.org
|
||
|
|
|
||
|
|
# Salesforce Nonprofit Cloud Integration
|
||
|
|
REACT_APP_SALESFORCE_URL=https://miraclesinmotion.my.salesforce.com
|
||
|
|
REACT_APP_SALESFORCE_CLIENT_ID=your_salesforce_connected_app_client_id
|
||
|
|
REACT_APP_SALESFORCE_CLIENT_SECRET=your_salesforce_connected_app_secret
|
||
|
|
REACT_APP_SALESFORCE_USERNAME=integration@miraclesinmotion.org
|
||
|
|
REACT_APP_SALESFORCE_PASSWORD=your_integration_user_password
|
||
|
|
REACT_APP_SALESFORCE_TOKEN=your_security_token
|
||
|
|
|
||
|
|
# AI/ML Configuration
|
||
|
|
REACT_APP_TENSORFLOW_BACKEND=webgl
|
||
|
|
REACT_APP_AI_MODEL_URL=https://cdn.miraclesinmotion.org/models
|
||
|
|
REACT_APP_AI_CONFIDENCE_THRESHOLD=0.75
|
||
|
|
REACT_APP_AI_BATCH_SIZE=5
|
||
|
|
REACT_APP_AI_PROCESSING_INTERVAL=2000
|
||
|
|
|
||
|
|
# Real-time Processing
|
||
|
|
REACT_APP_WEBSOCKET_URL=wss://ws.miraclesinmotion.org
|
||
|
|
REACT_APP_ENABLE_REAL_TIME=true
|
||
|
|
REACT_APP_ENABLE_OFFLINE_MODE=true
|
||
|
|
REACT_APP_CACHE_TIMEOUT=300000
|
||
|
|
|
||
|
|
# Analytics & Tracking
|
||
|
|
REACT_APP_GOOGLE_ANALYTICS_ID=G-XXXXXXXXXX
|
||
|
|
REACT_APP_HOTJAR_ID=your_hotjar_id
|
||
|
|
REACT_APP_ENABLE_ANALYTICS=true
|
||
|
|
REACT_APP_ENABLE_ERROR_REPORTING=true
|
||
|
|
|
||
|
|
# Database Configuration (for server-side components)
|
||
|
|
REACT_APP_DATABASE_URL=postgresql://username:password@db.miraclesinmotion.org:5432/miracles_production
|
||
|
|
REACT_APP_REDIS_URL=redis://redis.miraclesinmotion.org:6379
|
||
|
|
|
||
|
|
# Email Service (SendGrid/Mailgun)
|
||
|
|
REACT_APP_SENDGRID_API_KEY=your_sendgrid_api_key
|
||
|
|
REACT_APP_FROM_EMAIL=noreply@miraclesinmotion.org
|
||
|
|
REACT_APP_ADMIN_EMAIL=admin@miraclesinmotion.org
|
||
|
|
|
||
|
|
# SMS Service (Twilio)
|
||
|
|
REACT_APP_TWILIO_ACCOUNT_SID=your_twilio_account_sid
|
||
|
|
REACT_APP_TWILIO_AUTH_TOKEN=your_twilio_auth_token
|
||
|
|
REACT_APP_TWILIO_PHONE_NUMBER=+1xxxxxxxxxx
|
||
|
|
|
||
|
|
# File Storage (AWS S3)
|
||
|
|
REACT_APP_AWS_REGION=us-west-2
|
||
|
|
REACT_APP_AWS_BUCKET_NAME=miracles-in-motion-files
|
||
|
|
REACT_APP_AWS_ACCESS_KEY_ID=your_aws_access_key
|
||
|
|
REACT_APP_AWS_SECRET_ACCESS_KEY=your_aws_secret_key
|
||
|
|
|
||
|
|
# Security Configuration
|
||
|
|
REACT_APP_JWT_SECRET=your_jwt_secret_key_min_256_bits
|
||
|
|
REACT_APP_ENCRYPTION_KEY=your_encryption_key_32_chars
|
||
|
|
REACT_APP_SESSION_TIMEOUT=3600000
|
||
|
|
REACT_APP_MAX_LOGIN_ATTEMPTS=5
|
||
|
|
|
||
|
|
# Payment Processing (Stripe)
|
||
|
|
REACT_APP_STRIPE_PUBLISHABLE_KEY=pk_live_xxxxxxxxxx
|
||
|
|
REACT_APP_STRIPE_WEBHOOK_SECRET=whsec_xxxxxxxxxx
|
||
|
|
|
||
|
|
# Monitoring & Logging
|
||
|
|
REACT_APP_SENTRY_DSN=https://xxxxxxxxxx@sentry.io/xxxxxxxxxx
|
||
|
|
REACT_APP_LOG_LEVEL=warn
|
||
|
|
REACT_APP_ENABLE_PERFORMANCE_MONITORING=true
|
||
|
|
|
||
|
|
# Feature Flags
|
||
|
|
REACT_APP_ENABLE_SALESFORCE_SYNC=true
|
||
|
|
REACT_APP_ENABLE_ADVANCED_ANALYTICS=true
|
||
|
|
REACT_APP_ENABLE_MOBILE_VOLUNTEER=true
|
||
|
|
REACT_APP_ENABLE_STAFF_TRAINING=true
|
||
|
|
REACT_APP_ENABLE_PREDICTIVE_AI=true
|
||
|
|
REACT_APP_ENABLE_MULTI_TENANT=false
|
||
|
|
|
||
|
|
# Rate Limiting
|
||
|
|
REACT_APP_API_RATE_LIMIT=1000
|
||
|
|
REACT_APP_REQUEST_TIMEOUT=30000
|
||
|
|
|
||
|
|
# Geographic Services
|
||
|
|
REACT_APP_GOOGLE_MAPS_API_KEY=your_google_maps_api_key
|
||
|
|
REACT_APP_MAPBOX_ACCESS_TOKEN=your_mapbox_access_token
|
||
|
|
|
||
|
|
# Backup & Disaster Recovery
|
||
|
|
REACT_APP_BACKUP_INTERVAL=21600000
|
||
|
|
REACT_APP_ENABLE_AUTO_BACKUP=true
|
||
|
|
REACT_APP_BACKUP_RETENTION_DAYS=30
|