40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
# 测试配置文件
|
|
# @author <a href="https://github.com/liyupi">程序员鱼皮</a>
|
|
# @from <a href="https://yupi.icu">编程导航知识星球</a>
|
|
server:
|
|
port: 8101
|
|
spring:
|
|
# 数据库配置
|
|
# todo 需替换配置
|
|
datasource:
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
url: jdbc:mysql://localhost:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true
|
|
username: root
|
|
password: 123asd
|
|
# Redis 配置
|
|
# todo 需替换配置
|
|
redis:
|
|
database: 1
|
|
host: localhost
|
|
port: 6379
|
|
timeout: 5000
|
|
lettuce:
|
|
pool:
|
|
# 连接池最大连接数
|
|
max-active: 200
|
|
# 连接池最大阻塞等待时间(使用负值表示没有限制)
|
|
max-wait: -1ms
|
|
# 连接池中的最大空闲连接
|
|
max-idle: 10
|
|
# 连接池中的最小空闲连接
|
|
min-idle: 0
|
|
rabbitmq:
|
|
host: localhost
|
|
port: 5672
|
|
username: guest
|
|
password: guest
|
|
listener:
|
|
simple:
|
|
acknowledge-mode: manual
|
|
|