[全量] 初始化项目代码、配置、文档及Agent协同harness
This commit is contained in:
52
backend/application-local.yml
Normal file
52
backend/application-local.yml
Normal file
@@ -0,0 +1,52 @@
|
||||
# 覆盖 jar 内过期的 application-yj.yml(当前 jar 仍含远程库 123.57.146.97,不配本会长时间卡 Druid)。
|
||||
# 完整 spring.redis + spring.datasource 与源码 application-yj.yml 对齐(本地 Docker 33306)。
|
||||
|
||||
logging:
|
||||
file:
|
||||
name: ${user.home}/.gangyan/logs/spring.log
|
||||
|
||||
spring:
|
||||
redis:
|
||||
open: true
|
||||
database: 0
|
||||
host: 127.0.0.1
|
||||
port: 6379
|
||||
password: ""
|
||||
timeout: 6000
|
||||
lettuce:
|
||||
pool:
|
||||
max-active: 1000
|
||||
max-wait: -1
|
||||
max-idle: 10
|
||||
min-idle: 5
|
||||
datasource:
|
||||
type: com.alibaba.druid.pool.DruidDataSource
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
url: jdbc:mysql://127.0.0.1:33306/chat_gpt_yj?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=GMT%2B8
|
||||
username: root
|
||||
password: "1234567890"
|
||||
druid:
|
||||
initialSize: 5
|
||||
minIdle: 10
|
||||
maxActive: 20
|
||||
maxWait: 60000
|
||||
timeBetweenEvictionRunsMillis: 60000
|
||||
minEvictableIdleTimeMillis: 300000
|
||||
maxEvictableIdleTimeMillis: 900000
|
||||
validationQuery: SELECT 1 FROM DUAL
|
||||
testWhileIdle: true
|
||||
testOnBorrow: true
|
||||
testOnReturn: false
|
||||
keepAlive: true
|
||||
phyTimeoutMillis: 600000
|
||||
connectTimeout: 60000
|
||||
poolPreparedStatements: true
|
||||
filters: stat,wall,slf4j,config
|
||||
useGlobalDataSourceStat: true
|
||||
stat:
|
||||
log-slow-sql: true
|
||||
merge-sql: true
|
||||
slow-sql-millis: 10000
|
||||
|
||||
chat:
|
||||
modelName: deepseek-v3
|
||||
Reference in New Issue
Block a user