mirror of
https://gitee.com/qqtt-ah/ai-crm.git
synced 2026-11-24 09:09:20 +08:00
refactor: 移除 Redis/Rabbit 依赖,Agent Mongo 切至 ai_crm_angent_dev
This commit is contained in:
@@ -8,19 +8,6 @@ spring:
|
||||
url: jdbc:mysql://192.168.3.100:3306/ai_crm_dev?characterEncoding=utf-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
|
||||
username: ai_crm_dev
|
||||
password: ai_crm_dev
|
||||
data:
|
||||
redis:
|
||||
host: 192.168.3.100
|
||||
port: 6379
|
||||
password: redis_qinghua
|
||||
database: 2
|
||||
mongodb:
|
||||
uri: mongodb://ecom_dmb_dev:ecom_dmb_dev@192.168.3.100:27017/ecom_dmb_dev
|
||||
rabbitmq:
|
||||
host: 192.168.3.100
|
||||
username: ecom_dmb_dev
|
||||
password: ecom_dmb_dev
|
||||
virtual-host: /ecom_dmb_dev
|
||||
|
||||
jwt:
|
||||
secret: your-secret-key-here-must-be-at-least-64-bytes-long-for-hs512-algorithm-security
|
||||
|
||||
@@ -10,19 +10,6 @@ spring:
|
||||
password: ecom_dmb_staging
|
||||
hikari:
|
||||
maximum-pool-size: 20
|
||||
data:
|
||||
redis:
|
||||
host: 192.168.3.100
|
||||
port: 6379
|
||||
password: redis_qinghua
|
||||
database: 0
|
||||
mongodb:
|
||||
uri: mongodb://qinghua:mongo_qinghua@192.168.3.100:27017/ecom_dmb_staging
|
||||
rabbitmq:
|
||||
host: 192.168.3.100
|
||||
username: qinghua
|
||||
password: rabbitmq_qinghua
|
||||
|
||||
jwt:
|
||||
secret: staging-jwt-secret-key-must-be-at-least-64-bytes-long-for-hs512-algorithm
|
||||
|
||||
|
||||
@@ -11,18 +11,6 @@ spring:
|
||||
hikari:
|
||||
maximum-pool-size: 20
|
||||
minimum-idle: 10
|
||||
data:
|
||||
redis:
|
||||
host: 192.168.3.100
|
||||
port: 6379
|
||||
password: redis_qinghua
|
||||
database: 0
|
||||
mongodb:
|
||||
uri: mongodb://qinghua:mongo_qinghua@192.168.3.100:27017/ecom_dmb
|
||||
rabbitmq:
|
||||
host: 192.168.3.100
|
||||
username: qinghua
|
||||
password: rabbitmq_qinghua
|
||||
|
||||
jwt:
|
||||
secret: prod-jwt-secret-key-must-be-at-least-64-bytes-long-for-hs512-algorithm-security
|
||||
|
||||
@@ -8,19 +8,6 @@ spring:
|
||||
url: jdbc:mysql://192.168.3.100:3306/ecom_dmb_test?characterEncoding=utf-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
|
||||
username: ecom_dmb_test
|
||||
password: ecom_dmb_test
|
||||
data:
|
||||
redis:
|
||||
host: 192.168.3.100
|
||||
port: 6379
|
||||
password: redis_qinghua
|
||||
database: 3
|
||||
mongodb:
|
||||
uri: mongodb://ecom_dmb_test:ecom_dmb_test@192.168.3.100:27017/ecom_dmb_test
|
||||
rabbitmq:
|
||||
host: 192.168.3.100
|
||||
username: ecom_dmb_test
|
||||
password: ecom_dmb_test
|
||||
virtual-host: /ecom_dmb_test
|
||||
|
||||
jwt:
|
||||
secret: your-secret-key-here-must-be-at-least-64-bytes-long-for-hs512-algorithm-security
|
||||
|
||||
@@ -32,32 +32,6 @@ spring:
|
||||
connection-timeout: 30000
|
||||
idle-timeout: 600000
|
||||
max-lifetime: 30000
|
||||
data:
|
||||
redis:
|
||||
timeout: 10000ms # Lettuce 命令执行超时,需 >= leftPop 的 5 秒等待时间
|
||||
lettuce:
|
||||
pool:
|
||||
max-active: 8
|
||||
max-idle: 8
|
||||
min-idle: 0
|
||||
max-wait: -1ms
|
||||
mongodb:
|
||||
# host/uri 见各环境;这里只放公共行为
|
||||
auto-index-creation: false
|
||||
rabbitmq:
|
||||
# host/账号见各环境
|
||||
port: 5672
|
||||
virtual-host: /
|
||||
publisher-confirm-type: correlated
|
||||
publisher-returns: true
|
||||
template:
|
||||
mandatory: true
|
||||
listener:
|
||||
simple:
|
||||
acknowledge-mode: auto
|
||||
# 与全量/增量 listener concurrency 同量级,避免长任务预取过多
|
||||
prefetch: 4
|
||||
default-requeue-rejected: false
|
||||
# Spring AI MCP Server(Agent 能力面;鉴权见 ecom.agent.mcp)
|
||||
ai:
|
||||
mcp:
|
||||
@@ -93,7 +67,6 @@ ecom:
|
||||
llm:
|
||||
# API Key 加解密材料;空则派生自 jwt.secret
|
||||
secret: ${AGENT_LLM_SECRET:}
|
||||
runtime-cache-ttl-seconds: 600
|
||||
|
||||
# JWT 令牌有效期(密钥见各环境配置)
|
||||
jwt:
|
||||
|
||||
Reference in New Issue
Block a user