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.
34 lines
1020 B
34 lines
1020 B
spring:
|
|
datasource:
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
url: jdbc:mysql://127.0.0.1:3306/message_center?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=GMT%2B8&failOverReadOnly=false
|
|
username: root
|
|
password: root
|
|
redis:
|
|
database: 2 # Redis数据库索引(默认为0)
|
|
host: 127.0.0.1
|
|
jedis:
|
|
pool:
|
|
max-active: -1 #连接池最大连接数(使用负值表示没有限制)
|
|
max-idle: 8 #连接池中的最大空闲连接
|
|
max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
|
|
min-idle: 0 # 连接池中的最小空闲连接
|
|
password:
|
|
port: 6379
|
|
timeout: 0 # 连接超时时间(毫秒)
|
|
nacos:
|
|
discovery:
|
|
server-addr: 127.0.0.1:8848
|
|
|
|
# 日志配置
|
|
logging:
|
|
level:
|
|
com.yxt: debug
|
|
org.mybatis: debug
|
|
org.springframework: warn
|
|
|
|
image:
|
|
upload:
|
|
path: D:\\anrui\\upload\\
|
|
url:
|
|
prefix: http://127.0.0.1:8111/upload/
|