53 lines
1.1 KiB
YAML
53 lines
1.1 KiB
YAML
spring:
|
||
# redis 配置
|
||
redis:
|
||
# 地址
|
||
host: localhost
|
||
# 端口,默认为6379
|
||
port: 6379
|
||
# 数据库索引
|
||
database: 8
|
||
# 密码
|
||
password:
|
||
# 连接超时时间
|
||
timeout: 10s
|
||
lettuce:
|
||
pool:
|
||
# 连接池中的最小空闲连接
|
||
min-idle: 0
|
||
# 连接池中的最大空闲连接
|
||
max-idle: 8
|
||
# 连接池的最大数据库连接数
|
||
max-active: 8
|
||
# #连接池最大阻塞等待时间(使用负值表示没有限制)
|
||
max-wait: -1ms
|
||
|
||
# 项目相关配置
|
||
ruoyi:
|
||
# 名称
|
||
name: RuoYi
|
||
# 版本
|
||
version: 3.8.8
|
||
# 版权年份
|
||
copyrightYear: 2024
|
||
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
|
||
profile: D:/ruoyi/uploadPath
|
||
# 获取ip地址开关
|
||
addressEnabled: false
|
||
# 验证码类型 math 数字计算 char 字符验证
|
||
captchaType: math
|
||
# 允许使用ID登录
|
||
loginById: true
|
||
# ID登录密钥
|
||
loginByIdSecret: 123456
|
||
|
||
# 支付配置
|
||
pay:
|
||
# 支付回调主机地址
|
||
notifyHost: https://60.215.128.117:49553
|
||
|
||
# 活体检测
|
||
liveness:
|
||
returnUrl: http://192.168.2.99:4100/liveness
|
||
|