feat(auth): 完成租户用户角色资源核心模块
This commit is contained in:
36
backend/.env.example
Normal file
36
backend/.env.example
Normal file
@@ -0,0 +1,36 @@
|
||||
# ===== 服务器配置
|
||||
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
|
||||
Reference in New Issue
Block a user