# Django Settings DEBUG=True SECRET_KEY=your-secret-key-here-change-in-production ALLOWED_HOSTS=localhost,127.0.0.1 # Database DATABASE_URL=postgresql://px360:px360@db:5432/px360 # Celery CELERY_BROKER_URL=redis://redis:6379/0 CELERY_RESULT_BACKEND=redis://redis:6379/0 CELERY_TASK_ALWAYS_EAGER=False # Email Configuration EMAIL_BACKEND=django.core.mail.backends.console.EmailBackend EMAIL_HOST=smtp.gmail.com EMAIL_PORT=587 EMAIL_USE_TLS=True EMAIL_HOST_USER= EMAIL_HOST_PASSWORD= DEFAULT_FROM_EMAIL=noreply@px360.sa # AI Configuration (LiteLLM with OpenRouter) OPENROUTER_API_KEY= AI_MODEL=openai/gpt-4o-mini AI_TEMPERATURE=0.3 AI_MAX_TOKENS=500 # Notification Channels SMS_ENABLED=False SMS_PROVIDER=console WHATSAPP_ENABLED=False WHATSAPP_PROVIDER=console EMAIL_ENABLED=True EMAIL_PROVIDER=console # External API Notification Configuration # Email API EMAIL_API_ENABLED=False EMAIL_API_URL=https://api.yourservice.com/send-email EMAIL_API_KEY=your-api-key-here EMAIL_API_AUTH_METHOD=bearer EMAIL_API_METHOD=POST EMAIL_API_TIMEOUT=10 EMAIL_API_MAX_RETRIES=3 EMAIL_API_RETRY_DELAY=2 # SMS API SMS_API_ENABLED=False SMS_API_URL=https://api.yourservice.com/send-sms SMS_API_KEY=your-api-key-here SMS_API_AUTH_METHOD=bearer SMS_API_METHOD=POST SMS_API_TIMEOUT=10 SMS_API_MAX_RETRIES=3 SMS_API_RETRY_DELAY=2 # Simulator API (for testing - sends real emails, prints SMS to terminal) # To enable simulator, set these URLs and enable the APIs: # EMAIL_API_ENABLED=True # EMAIL_API_URL=http://localhost:8000/api/simulator/send-email # EMAIL_API_KEY=simulator-test-key # SMS_API_ENABLED=True # SMS_API_URL=http://localhost:8000/api/simulator/send-sms # SMS_API_KEY=simulator-test-key # Admin URL (change in production) ADMIN_URL=admin/ # Integration APIs (Stubs - Replace with actual credentials) HIS_API_URL= HIS_API_KEY= MOH_API_URL= MOH_API_KEY= CHI_API_URL= CHI_API_KEY= # Social Media API Configuration # YouTube YOUTUBE_API_KEY=your-youtube-api-key YOUTUBE_CHANNEL_ID=your-channel-id # Facebook FACEBOOK_PAGE_ID=your-facebook-page-id FACEBOOK_ACCESS_TOKEN=your-facebook-access-token # Instagram INSTAGRAM_ACCOUNT_ID=your-instagram-account-id INSTAGRAM_ACCESS_TOKEN=your-instagram-access-token # Twitter/X TWITTER_BEARER_TOKEN=your-twitter-bearer-token TWITTER_USERNAME=your-twitter-username # LinkedIn LINKEDIN_ACCESS_TOKEN=your-linkedin-access-token LINKEDIN_ORGANIZATION_ID=your-linkedin-organization-id # Google Reviews GOOGLE_CREDENTIALS_FILE=client_secret.json GOOGLE_TOKEN_FILE=token.json GOOGLE_LOCATIONS=location1,location2,location3 # OpenRouter AI Configuration OPENROUTER_API_KEY=your-openrouter-api-key OPENROUTER_MODEL=anthropic/claude-3-haiku ANALYSIS_BATCH_SIZE=10 ANALYSIS_ENABLED=True