mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-23 23:59:19 +08:00
feat: 将 Agent 接入运行时镜像挂载式部署
This commit is contained in:
+13
-1
@@ -1,7 +1,19 @@
|
||||
# Agent 环境配置说明
|
||||
#
|
||||
# 按 AGENT_ENV 加载对应文件(与后端 Spring profile 对齐):
|
||||
# AGENT_ENV=dev → .env.dev (本地默认)
|
||||
# AGENT_ENV=test → .env.test
|
||||
# AGENT_ENV=pre → .env.pre
|
||||
# AGENT_ENV=prod → .env.prod
|
||||
#
|
||||
# 本地也可再建 gitignore 的 .env,会覆盖同名变量(便于放真实 Key)。
|
||||
# 部署时 compose 注入 AGENT_ENV=test|pre|prod,并挂载对应 .env.{env}。
|
||||
#
|
||||
# Redis:与同环境 Server 共用同一 Redis DB,读缓存键 agent:llm:rt:*
|
||||
|
||||
JWT_SECRET=your-secret-key-here-must-be-at-least-64-bytes-long-for-hs512-algorithm-security
|
||||
MONGO_URI=mongodb://ecom_dmb_agent_dev:ecom_dmb_agent_dev@192.168.3.100:27017/?authSource=ecom_dmb_agent_dev
|
||||
MONGO_DB=ecom_dmb_agent_dev
|
||||
# 与 Server 同 Redis DB,共享 agent:llm:rt:* 缓存
|
||||
REDIS_URL=redis://:redis_qinghua@192.168.3.100:6379/2
|
||||
SERVER_BASE_URL=http://localhost:8080
|
||||
LLM_FALLBACK_ENABLED=true
|
||||
|
||||
Reference in New Issue
Block a user