| | |
| | | # 版权年份 |
| | | copyrightYear: 2025 |
| | | # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath) |
| | | profile: C:/Users/12631/Desktop/download |
| | | profile: D:/Backup/桌面/download |
| | | # 获取ip地址开关 |
| | | addressEnabled: false |
| | | # 验证码类型 math 数字计算 char 字符验证 |
| | |
| | | # 开发环境配置 |
| | | server: |
| | | # 服务器的HTTP端口,默认为8080 |
| | | port: 8081 |
| | | port: 7016 |
| | | servlet: |
| | | # 应用的访问路径 |
| | | context-path: / |
| | |
| | | # 国际化资源文件路径 |
| | | basename: i18n/messages |
| | | profiles: |
| | | active: druid |
| | | active: docker |
| | | # 文件上传 |
| | | servlet: |
| | | multipart: |
| | |
| | | restart: |
| | | # 热部署开关 |
| | | enabled: false |
| | | data: |
| | | # redis 配置 |
| | | redis: |
| | | # 地址 |
| | | host: lunor.cn |
| | | # 端口,默认为6379 |
| | | port: 6380 |
| | | # 数据库索引 |
| | | database: 0 |
| | | # 密码 |
| | | password: 123456 |
| | | # 连接超时时间 |
| | | timeout: 10s |
| | | lettuce: |
| | | pool: |
| | | # 连接池中的最小空闲连接 |
| | | min-idle: 0 |
| | | # 连接池中的最大空闲连接 |
| | | max-idle: 8 |
| | | # 连接池的最大数据库连接数 |
| | | max-active: 8 |
| | | # #连接池最大阻塞等待时间(使用负值表示没有限制) |
| | | max-wait: -1ms |
| | | |
| | | flyway: |
| | | enabled: true # 启动迁移 |
| | | baseline-on-migrate: true # 如果数据库中没有迁移脚本,则进行初始化 |
| | | enabled: true |
| | | baseline-on-migrate: true |
| | | baseline-version: 20230720000000 |
| | | out-of-order: true |
| | | clean-disabled: true |
| | | out-of-order: true |
| | | #指定sql文件路径 |
| | | locations: |
| | | - classpath:db/migration/postgresql |
| | | |
| | | # token配置 |
| | | token: |