39 lines
890 B
Plaintext
39 lines
890 B
Plaintext
|
|
# Production 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
|
||
|
|
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
|