|
|
@@ -17,43 +17,14 @@ server:
|
|
|
min-spare: 100
|
|
|
|
|
|
spring:
|
|
|
+ profiles:
|
|
|
+ active: dev
|
|
|
main:
|
|
|
web-application-type: reactive
|
|
|
cloud:
|
|
|
gateway:
|
|
|
enabled: true
|
|
|
routes: # 留空,禁用静态配置
|
|
|
- datasource:
|
|
|
- driver-class-name: dm.jdbc.driver.DmDriver
|
|
|
- url: jdbc:dm://39.98.38.2:30236?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8&schema=SH_MODEL
|
|
|
- username: SH_MODEL
|
|
|
- password: ShModel@js123
|
|
|
- sql:
|
|
|
- init:
|
|
|
- mode: always
|
|
|
- continue-on-error: false
|
|
|
- # redis 配置
|
|
|
- redis:
|
|
|
- # 地址
|
|
|
- host: 39.98.38.2
|
|
|
- # 端口,默认为6379
|
|
|
- port: 16379
|
|
|
- # 数据库索引
|
|
|
- database: 5
|
|
|
- # 密码
|
|
|
- password: 123456
|
|
|
- # 连接超时时间
|
|
|
- timeout: 20s
|
|
|
- lettuce:
|
|
|
- pool:
|
|
|
- # 连接池中的最小空闲连接
|
|
|
- min-idle: 0
|
|
|
- # 连接池中的最大空闲连接
|
|
|
- max-idle: 8
|
|
|
- # 连接池的最大数据库连接数
|
|
|
- max-active: 8
|
|
|
- # #连接池最大阻塞等待时间(使用负值表示没有限制)
|
|
|
- max-wait: -1ms
|
|
|
|
|
|
# mybatis-plus
|
|
|
mybatis-plus:
|