refactor: 测试环境配置文件修改
This commit is contained in:
parent
53180f3b48
commit
1de159ff6c
@ -2,59 +2,39 @@
|
|||||||
spring:
|
spring:
|
||||||
datasource:
|
datasource:
|
||||||
type: com.alibaba.druid.pool.DruidDataSource
|
type: com.alibaba.druid.pool.DruidDataSource
|
||||||
|
driverClassName: dm.jdbc.driver.DmDriver
|
||||||
druid:
|
druid:
|
||||||
# 主库数据源
|
# 主库数据源
|
||||||
dm:
|
master:
|
||||||
driverClassName: dm.jdbc.driver.DmDriver
|
url: jdbc:dm://192.168.8.60:5236/WMS_GJ?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||||
url: jdbc:dm://8.218.31.53:7069/WMS_GJ?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
||||||
username: SYSDBA
|
username: SYSDBA
|
||||||
password: SYSDBA001
|
password: SYSDBA
|
||||||
# 初始连接数
|
|
||||||
initialSize: 5
|
|
||||||
# 最小连接池数量
|
|
||||||
minIdle: 10
|
|
||||||
# 最大连接池数量
|
|
||||||
maxActive: 20
|
|
||||||
# 配置获取连接等待超时的时间
|
|
||||||
maxWait: 60000
|
|
||||||
# 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
|
|
||||||
timeBetweenEvictionRunsMillis: 60000
|
|
||||||
# 配置一个连接在池中最小生存的时间,单位是毫秒
|
|
||||||
minEvictableIdleTimeMillis: 300000
|
|
||||||
# 配置一个连接在池中最大生存的时间,单位是毫秒
|
|
||||||
maxEvictableIdleTimeMillis: 900000
|
|
||||||
# 配置检测连接是否有效
|
|
||||||
validationQuery: SELECT 1 FROM DUAL
|
|
||||||
testWhileIdle: true
|
|
||||||
testOnBorrow: false
|
|
||||||
testOnReturn: false
|
|
||||||
# 从库数据源
|
# 从库数据源
|
||||||
sqlserver:
|
slave:
|
||||||
# 从数据源开关/默认关闭
|
# 从数据源开关/默认关闭
|
||||||
enabled: true
|
enabled: false
|
||||||
driverClassName: net.sourceforge.jtds.jdbc.Driver
|
url:
|
||||||
url: jdbc:jtds:sqlserver://192.168.8.68:1433/DPG_RH_YQ_20240711
|
username:
|
||||||
username: sa
|
password:
|
||||||
password: rh123456
|
# 初始连接数
|
||||||
# 初始连接数
|
initialSize: 5
|
||||||
initialSize: 5
|
# 最小连接池数量
|
||||||
# 最小连接池数量
|
minIdle: 10
|
||||||
minIdle: 10
|
# 最大连接池数量
|
||||||
# 最大连接池数量
|
maxActive: 20
|
||||||
maxActive: 20
|
# 配置获取连接等待超时的时间
|
||||||
# 配置获取连接等待超时的时间
|
maxWait: 60000
|
||||||
maxWait: 60000
|
# 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
|
||||||
# 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
|
timeBetweenEvictionRunsMillis: 60000
|
||||||
timeBetweenEvictionRunsMillis: 60000
|
# 配置一个连接在池中最小生存的时间,单位是毫秒
|
||||||
# 配置一个连接在池中最小生存的时间,单位是毫秒
|
minEvictableIdleTimeMillis: 300000
|
||||||
minEvictableIdleTimeMillis: 300000
|
# 配置一个连接在池中最大生存的时间,单位是毫秒
|
||||||
# 配置一个连接在池中最大生存的时间,单位是毫秒
|
maxEvictableIdleTimeMillis: 900000
|
||||||
maxEvictableIdleTimeMillis: 900000
|
# 配置检测连接是否有效
|
||||||
# 配置检测连接是否有效
|
validationQuery: SELECT 1 FROM DUAL
|
||||||
validationQuery: SELECT 1
|
testWhileIdle: true
|
||||||
testWhileIdle: true
|
testOnBorrow: false
|
||||||
testOnBorrow: false
|
testOnReturn: false
|
||||||
testOnReturn: false
|
|
||||||
webStatFilter:
|
webStatFilter:
|
||||||
enabled: true
|
enabled: true
|
||||||
statViewServlet:
|
statViewServlet:
|
||||||
@ -75,16 +55,17 @@ spring:
|
|||||||
wall:
|
wall:
|
||||||
config:
|
config:
|
||||||
multi-statement-allow: true
|
multi-statement-allow: true
|
||||||
|
|
||||||
# redis 配置
|
# redis 配置
|
||||||
redis:
|
redis:
|
||||||
# 地址
|
# 地址
|
||||||
host: 8.218.31.53
|
host: 192.168.8.60
|
||||||
# 端口,默认为6379
|
# 端口,默认为6379
|
||||||
port: 7067
|
port: 6379
|
||||||
# 数据库索引
|
# 数据库索引
|
||||||
database: 2
|
database: 2
|
||||||
# 密码
|
# 密码
|
||||||
password: redis_HtWAZW
|
password: 123456
|
||||||
# 连接超时时间
|
# 连接超时时间
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
lettuce:
|
lettuce:
|
||||||
@ -100,10 +81,10 @@ spring:
|
|||||||
|
|
||||||
#Mino配置
|
#Mino配置
|
||||||
minio:
|
minio:
|
||||||
url: http://8.218.31.53:7068
|
url: http://192.168.8.60:9000
|
||||||
accessKey: seBsDKT7Ss8B4aGiNiNn
|
accessKey: seBsDKT7Ss8B4aGiNiNn
|
||||||
secretKey: IYvTR63NZE3EemLfIHGTXu72O7svMEiNHG2OoOWI
|
secretKey: IYvTR63NZE3EemLfIHGTXu72O7svMEiNHG2OoOWI
|
||||||
bucketName: wms-dj
|
bucketName: wms-gj
|
||||||
|
|
||||||
# 远程读取文件
|
# 远程读取文件
|
||||||
globalConfig:
|
globalConfig:
|
||||||
@ -113,4 +94,4 @@ globalConfig:
|
|||||||
remoteUser: share
|
remoteUser: share
|
||||||
remotePass: share
|
remotePass: share
|
||||||
productionControl:
|
productionControl:
|
||||||
path: http://172.16.99.10:5005/api
|
path: http://172.16.99.10:5005/api
|
Loading…
Reference in New Issue
Block a user