Files
smart-customer-service/backend/.env.example

37 lines
665 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ===== 服务器配置
SERVER_PORT=8080
SERVER_MODE=debug
SERVER_READ_TIMEOUT=30
SERVER_WRITE_TIMEOUT=30
# ===== 数据库配置MySQL
DB_DRIVER=mysql
DB_HOST=124.221.239.98
DB_PORT=3306
DB_USER=root
DB_PASSWORD=machine03
DB_NAME=openclaw
DB_SSL_MODE=TRUE
# ===== Redis 配置
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_DB=0
# ===== JWT 配置
JWT_SECRET=change-this-to-a-secure-random-string
JWT_EXPIRATION=86400
# ===== AI Provider 配置
AI_PROVIDER=openai
AI_API_KEY=your-api-key-here
AI_MODEL=gpt-3.5-turbo
AI_BASE_URL=https://api.openai.com/v1
AI_MAX_TOKENS=1000
AI_TEMPERATURE=0.7
# ===== WebSocket 配置
WS_PORT=8081
WS_PATH=/ws