-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
50 lines (41 loc) · 2.69 KB
/
Copy path.env.example
File metadata and controls
50 lines (41 loc) · 2.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# ╔══════════════════════════════════════════════════════════════╗
# ║ NexusAgent 环境变量配置模板 ║
# ║ 复制为 .env 后填入实际值 ║
# ╚══════════════════════════════════════════════════════════════╝
# ── MySQL ──────────────────────────────────────────────────────
MYSQL_URL=jdbc:mysql://127.0.0.1:3306/nexus_agent?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
MYSQL_USERNAME=nexus
MYSQL_PASSWORD=your_password_here
MYSQL_HOST=127.0.0.1
MYSQL_PORT=3306
MYSQL_DB=nexus_agent
MYSQL_USER=nexus
MYSQL_PASS=your_password_here
# ── Redis ──────────────────────────────────────────────────────
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
# ── RabbitMQ ───────────────────────────────────────────────────
RABBITMQ_HOST=127.0.0.1
RABBITMQ_PORT=5672
RABBITMQ_USERNAME=guest
RABBITMQ_PASSWORD=guest
RABBITMQ_VHOST=/
# ── JWT ────────────────────────────────────────────────────────
NEXUS_JWT_SECRET=nexus-auth-jwt-secret-key-must-be-at-least-32-characters-long
# ── LLM (Agent Engine / LLM Proxy) ────────────────────────────
OPENAI_API_KEY=sk-your-api-key
OPENAI_BASE_URL=https://api.openai.com/v1
LLM_MODEL=gpt-4o
LLM_TEMPERATURE=0.7
# ── 文件上传 ───────────────────────────────────────────────────
NEXUS_UPLOAD_DIR=/data/uploads
# ── QQ Bot (nexus-platform) ───────────────────────────────────
QQ_BOT_APP_ID=
QQ_BOT_APP_SECRET=
# ── Nacos 服务注册发现 ─────────────────────────────
NACOS_ADDR=127.0.0.1:8848
NACOS_NAMESPACE=
NACOS_GROUP=DEFAULT_GROUP
# ── Sentinel 限流 ──────────────────────────────────
SENTINEL_DASHBOARD=127.0.0.1:8858
SENTINEL_PORT=8719