|
@@ -5,18 +5,18 @@ spring:
|
|
|
password: Root@1234
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
|
-# redis:
|
|
|
-# host: 127.0.0.1 # Redis服务器地址
|
|
|
-# database: 4 # Redis数据库索引(默认为0)
|
|
|
-# port: 6379 # Redis服务器连接端口
|
|
|
-# password: rshy # Redis服务器连接密码(默认为空)
|
|
|
-# jedis:
|
|
|
-# pool:
|
|
|
-# max-active: 20 # 连接池最大连接数(使用负值表示没有限制)
|
|
|
-# max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
|
|
|
-# max-idle: 8 # 连接池中的最大空闲连接
|
|
|
-# min-idle: 0 # 连接池中的最小空闲连接
|
|
|
-# timeout: 5000 # 连接超时时间(毫秒)
|
|
|
+ redis:
|
|
|
+ host: 41.196.218.12 # Redis服务器地址
|
|
|
+ database: 4 # Redis数据库索引(默认为0)
|
|
|
+ port: 6379 # Redis服务器连接端口
|
|
|
+ password: Root@1234 # Redis服务器连接密码(默认为空)
|
|
|
+ jedis:
|
|
|
+ pool:
|
|
|
+ max-active: 20 # 连接池最大连接数(使用负值表示没有限制)
|
|
|
+ max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
|
|
|
+ max-idle: 8 # 连接池中的最大空闲连接
|
|
|
+ min-idle: 0 # 连接池中的最小空闲连接
|
|
|
+ timeout: 5000 # 连接超时时间(毫秒)
|
|
|
|
|
|
swagger:
|
|
|
enabled: true
|