You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.2 KiB
31 lines
1.2 KiB
1 year ago
|
# 开发环境配置
|
||
|
spring:
|
||
|
datasource:
|
||
|
dynamic:
|
||
|
primary: master #设置默认的数据源或者数据源组,默认值即为master
|
||
|
datasource:
|
||
|
master:
|
||
|
username: root
|
||
|
password: HuoRan@2021
|
||
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||
|
url: jdbc:mysql://139.9.47.170:3306/iasf?useUnicode=true&useSSL=false&characterEncoding=utf8&serverTimezone=GMT%2b8
|
||
|
redis:
|
||
|
host: localhost # Redis服务器地址
|
||
|
database: 0 # Redis数据库索引(默认为0)
|
||
|
port: 6379 # Redis服务器连接端口
|
||
|
password: # Redis服务器连接密码(默认为空)
|
||
|
jedis:
|
||
|
pool:
|
||
|
max-active: 8 # 连接池最大连接数(使用负值表示没有限制)
|
||
|
max-wait: -1ms # 连接池最大阻塞等待时间(使用负值表示没有限制)
|
||
|
max-idle: 8 # 连接池中的最大空闲连接
|
||
|
min-idle: 0 # 连接池中的最小空闲连接
|
||
|
timeout: 3000ms # 连接超时时间(毫秒
|
||
|
|
||
|
file:
|
||
|
#文件上传目录 绝对路径 末尾请加 /
|
||
|
path: D:/files/ #windows
|
||
|
#path: /data/files/ #linux
|
||
|
#文件预览、下载的url, 末尾请勿加 /
|
||
|
url: :10000/iasf/sysFiles/preview/
|