# Django Backend Environment Variables # Django Settings DEBUG=1 DJANGO_SETTINGS_MODULE=config.settings.development SECRET_KEY=your-secret-key-here-change-in-production ALLOWED_HOSTS=localhost,127.0.0.1,backend # Database Settings DB_NAME=chatbot_db DB_USER=chatbot_user DB_PASSWORD=chatbot_pass DB_HOST=db DB_PORT=5432 DATABASE_URL=postgresql://chatbot_user:chatbot_pass@db:5432/chatbot_db # PostgreSQL Vector Extension PGVECTOR_CONNECTION_STRING=postgresql://chatbot_user:chatbot_pass@db:5432/chatbot_db PG_CHECKPOINT_URI=postgresql://chatbot_user:chatbot_pass@db:5432/chatbot_db # Redis Settings REDIS_URL=redis://redis:6379/0 # Celery Settings CELERY_BROKER_URL=redis://redis:6379/0 CELERY_RESULT_BACKEND=redis://redis:6379/0 # CORS Settings CORS_ALLOWED_ORIGINS=http://localhost:3000,http://frontend:3000 # OpenAI API Key OPENAI_API_KEY=your-openai-api-key-here # Optional: Other AI Service Keys (leave empty if not using) TAVILY_API_KEY=your-tavily-key-here # ANTHROPIC_API_KEY=your-anthropic-key-here