Integrate complete Candidat platform with ASP.NET chatbot service
- Added Next.js frontend for candidate interviews - Added Node.js backend with TypeScript and AI integration - Added ASP.NET Core chatbot service for specialized AI conversations - Added MySQL database with complete schema - Added Nginx reverse proxy configuration - Complete Docker Compose orchestration for all services - Environment configuration for production, development, and Cloudflare - Comprehensive documentation and setup instructions - Flattened nested folder structures for clean organization - Integrated chatbot service with fallback to direct AI calls
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
# Cloudflare Environment Configuration for VPS
|
||||
APP_VERSION=1.0.0
|
||||
NODE_ENV=production
|
||||
|
||||
# Database (Docker)
|
||||
MYSQL_ROOT_PASSWORD=your_secure_root_password_here
|
||||
MYSQL_DATABASE=candidb_main
|
||||
MYSQL_USER=candidat
|
||||
MYSQL_PASSWORD=your_secure_db_password_here
|
||||
|
||||
# Database ports (internal only, not exposed externally)
|
||||
DB_PORT=3306
|
||||
DB_X_PORT=33060
|
||||
|
||||
# Application URLs and Ports (Cloudflare handles SSL termination)
|
||||
NEXT_PUBLIC_API_URL=https://candivista.com
|
||||
BACKEND_PORT=8083
|
||||
FRONTEND_PORT=3000
|
||||
NGINX_PORT=80
|
||||
NGINX_SSL_PORT=443
|
||||
|
||||
# AI Configuration
|
||||
AI_PROVIDER=openrouter
|
||||
OPENROUTER_API_KEY=your_openrouter_api_key_here
|
||||
OPENROUTER_MODEL=gemma
|
||||
OPENROUTER_BASE_URL=openrouter.ai
|
||||
OPENROUTER_REL_PATH=/api
|
||||
OPENROUTER_TEMPERATURE=0.7
|
||||
|
||||
# Fallback AI (if needed)
|
||||
AI_PORT=11434
|
||||
AI_MODEL=gpt-oss:20b
|
||||
|
||||
# Chatbot Service Configuration
|
||||
CHATBOT_SERVICE_URL=http://chatbot:80
|
||||
CHATBOT_SERVICE_TIMEOUT=30000
|
||||
CHATBOT_FALLBACK_ENABLED=true
|
||||
CHATBOT_PORT=5000
|
||||
Reference in New Issue
Block a user