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:
+38
@@ -0,0 +1,38 @@
|
||||
# Environment
|
||||
APP_VERSION=1.0.0
|
||||
NODE_ENV=development
|
||||
|
||||
# Database (Docker)
|
||||
MYSQL_ROOT_PASSWORD=musicisoverrated
|
||||
MYSQL_DATABASE=candidb_main
|
||||
MYSQL_USER=candidat
|
||||
MYSQL_PASSWORD=StrongLocalDevPass123
|
||||
|
||||
DB_PORT=3306
|
||||
DB_X_PORT=33060
|
||||
|
||||
# Application URLs and Ports
|
||||
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="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"
|
||||
OPENROUTER_MODEL=gemma # or any model from your predefined list
|
||||
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