| | |
| | | uri-encoding: UTF-8 |
| | | # 连接数满后的排队数,默认为100 |
| | | accept-count: 1000 |
| | | max-swallow-size: -1 # -1 表示不限制 |
| | | max-http-form-post-size: -1 # POST 请求体不限制 |
| | | connection-timeout: 60000 # 连接超时时间(毫秒) |
| | | threads: |
| | | # tomcat最大线程数,默认为200 |
| | | max: 800 |
| | |
| | | com.ruoyi: warn |
| | | org.springframework: warn |
| | | |
| | | minio: |
| | | endpoint: http://114.132.189.42/ |
| | | port: 7019 |
| | | secure: false |
| | | accessKey: admin |
| | | secretKey: 12345678 |
| | | preview-expiry: 24 # 预览地址默认24小时 |
| | | default-bucket: uploadPath |
| | | # 用户配置 |
| | | user: |
| | | password: |
| | |
| | | # 热部署开关 |
| | | enabled: false |
| | | # redis 配置 |
| | | redis: |
| | | # 地址 |
| | | host: 127.0.0.1 |
| | | # host: 172.17.0.1 |
| | | # 端口,默认为6379 |
| | | port: 6379 |
| | | # 数据库索引 |
| | | database: 0 |
| | | # 密码 |
| | | # password: root2022! |
| | | password: |
| | | data: |
| | | mongodb: |
| | | uri: mongodb://114.132.189.42:9028/chat_memory_db |
| | | # redis 配置 |
| | | redis: |
| | | # 地址 |
| | | host: 127.0.0.1 |
| | | # host: 172.17.0.1 |
| | | # 端口,默认为6379 |
| | | port: 6379 |
| | | # 数据库索引 |
| | | database: 0 |
| | | # 密码 |
| | | # password: root2022! |
| | | password: |
| | | |
| | | # 连接超时时间 |
| | | timeout: 10s |
| | | lettuce: |
| | | pool: |
| | | # 连接池中的最小空闲连接 |
| | | min-idle: 0 |
| | | # 连接池中的最大空闲连接 |
| | | max-idle: 8 |
| | | # 连接池的最大数据库连接数 |
| | | max-active: 8 |
| | | # #连接池最大阻塞等待时间(使用负值表示没有限制) |
| | | max-wait: -1ms |
| | | # 连接超时时间 |
| | | timeout: 10s |
| | | lettuce: |
| | | pool: |
| | | # 连接池中的最小空闲连接 |
| | | min-idle: 0 |
| | | # 连接池中的最大空闲连接 |
| | | max-idle: 8 |
| | | # 连接池的最大数据库连接数 |
| | | max-active: 8 |
| | | # #连接池最大阻塞等待时间(使用负值表示没有限制) |
| | | max-wait: -1ms |
| | | # Quartz定时任务配置(新增部分) |
| | | quartz: |
| | | job-store-type: jdbc # 使用数据库存储 |
| | |
| | | # 是否允许生成文件覆盖到本地(自定义路径),默认不允许 |
| | | allowOverwrite: false |
| | | |
| | | # 文件上传配置 |
| | | file: |
| | | temp-dir: D:/ruoyi/temp/uploads # 临时目录 |
| | | upload-dir: D:/ruoyi/prod/uploads # 正式目录 |
| | | temp-dir: D:/ruoyi/temp/uploads # 临时目录 后期删除 |
| | | upload-dir: D:/ruoyi/prod/uploads # 正式目录 后期删除 |
| | | path: C:/Users/12631/Desktop/download/uploads # 上传目录 |
| | | urlPrefix: /common # 链接前缀 |
| | | domain: http://127.0.0.1:7003 # 域名前缀 |
| | | expired: 120 # 过期时间(单位:分钟) |
| | | useLimit: 10 # 使用次数 |
| | | compress: true # 是否压缩 |
| | | needCompressSize: 10MB # 压缩阈值 |
| | | compressQuality: 0.5 # 压缩质量(0.0-1.0) |