| | |
| | | version: 3.8.8 |
| | | # 版权年份 |
| | | copyrightYear: 2024 |
| | | # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath) |
| | | profile: D:/ruoyi/uploadPath |
| | | # 文件路径 示例( Windows配置D:/ard/uploadPath,Linux配置 /home/ard/uploadPath) |
| | | profile: /home/ard/uploadPath |
| | | # 获取ip地址开关 |
| | | addressEnabled: false |
| | | # 验证码类型 math 数字计算 char 字符验证 |
| | |
| | | # 令牌密钥 |
| | | secret: abcdefghijklmnopqrstuvwxyz |
| | | # 令牌有效期(默认30分钟) |
| | | expireTime: 10 |
| | | expireTime: 60 |
| | | # 是否允许账户多终端同时登录(true允许 false不允许) |
| | | soloLogin: true |
| | | |
| | |
| | | log-response-content: true # 打开/关闭Forest响应内容日志(默认为 false) |
| | | async-mode: platform # [自v1.5.27版本起可用] 异步模式(默认为 platform) |
| | | |
| | | # 服务端点检查 |
| | | management: |
| | | endpoints: |
| | | web: |
| | | exposure: |
| | | include: health,info,logfile,loggers |
| | | endpoint: |
| | | info: |
| | | enabled: true |
| | | health: |
| | | enabled: true |
| | | show-details: always |
| | | logfile: |
| | | external-file: logs/info.log |
| | | |
| | | # Spring配置 |
| | | spring: |
| | | application: |
| | |
| | | servlet: |
| | | multipart: |
| | | # 单个文件大小 |
| | | max-file-size: 10MB |
| | | max-file-size: 3GB |
| | | # 设置总上传的文件大小 |
| | | max-request-size: 20MB |
| | | max-request-size: 3GB |
| | | # 服务模块 |
| | | devtools: |
| | | restart: |
| | |
| | | # redis 配置 |
| | | redis: |
| | | # 地址 |
| | | host: 192.168.1.15 |
| | | host: 127.0.0.1 |
| | | # 端口,默认为6379 |
| | | port: 6379 |
| | | # 数据库索引 |
| | |
| | | max-active: 8 |
| | | # #连接池最大阻塞等待时间(使用负值表示没有限制) |
| | | max-wait: -1ms |
| | | jackson: |
| | | property-naming-strategy: SNAKE_CASE |
| | | date-format: yyyy-MM-dd HH:mm:ss |
| | | default-property-inclusion: NON_NULL |
| | | deserialization: |
| | | FAIL_ON_UNKNOWN_PROPERTIES: false |
| | | # 激活配置文件 |
| | | profiles: |
| | | # active: prod-druid,prod |
| | | active: dev-druid,dev |
| | | #健康监控 |
| | | boot: |
| | | admin: |
| | |
| | | url: http://127.0.0.1:9100 |
| | | username: admin |
| | | password: admin |
| | | instance: |
| | | name: ard-uav |
| | | management-url: http://127.0.0.1:8080/actuator |
| | | service-url: http://127.0.0.1:8080/ |
| | | |
| | | # 服务端点检查 |
| | | management: |
| | | endpoints: |
| | | web: |
| | | exposure: |
| | | include: health,info,logfile,loggers |
| | | endpoint: |
| | | info: |
| | | enabled: true |
| | | health: |
| | | enabled: true |
| | | show-details: always |
| | | logfile: |
| | | external-file: logs/${spring.application.name}/info.log |
| | | # 激活配置文件 |
| | | profiles: |
| | | active: @spring.profiles.active@ |
| | | |
| | | inspection: |
| | | profile: /home/inspection/uploadPath # 上传文件存储路径 |
| | | chunk: |
| | | path: /home/inspection/uploadPath/chunks # 切片临时目录 |
| | | zipPath: /home/inspection/uploadPath/zip # 压缩文件临时目录 |