| | |
| | | --- # 配置临时路径存储 |
| | | spring: |
| | | servlet: |
| | | multipart: |
| | | #spring: |
| | | #servlet: |
| | | #multipart: |
| | | # 临时文件存储位置 避免临时文件被系统清理报错 |
| | | location: /ruoyi/server/temp |
| | | #location: /ruoyi/server/temp |
| | | |
| | | --- # 监控配置 |
| | | spring: |
| | |
| | | # Spring Boot Admin Client 客户端的相关配置 |
| | | client: |
| | | # 增加客户端开关 |
| | | enabled: true |
| | | enabled: false |
| | | # 设置 Spring Boot Admin Server 地址 |
| | | url: http://172.30.0.90:9090/admin |
| | | instance: |
| | |
| | | xxl: |
| | | job: |
| | | # 执行器开关 |
| | | enabled: true |
| | | enabled: false |
| | | # 调度中心地址:如调度中心集群部署存在多个地址则用逗号分隔。 |
| | | admin-addresses: http://172.30.0.92:9100/xxl-job-admin |
| | | # 执行器通讯TOKEN:非空时启用 |
| | |
| | | # 主库数据源 |
| | | master: |
| | | driverClassName: com.mysql.cj.jdbc.Driver |
| | | url: jdbc:mysql://172.30.0.36:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true |
| | | url: jdbc:mysql://101.35.174.42:3308/ytsl_oa?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true |
| | | username: root |
| | | password: root |
| | | password: oa1234.. |
| | | # 从库数据源 |
| | | slave: |
| | | lazy: true |
| | |
| | | spring: |
| | | redis: |
| | | # 地址 |
| | | host: 172.30.0.48 |
| | | host: 101.35.174.42 |
| | | # 端口,默认为6379 |
| | | port: 6379 |
| | | port: 6378 |
| | | # 数据库索引 |
| | | database: 0 |
| | | # 密码 |
| | | password: |
| | | password: oa123456.. |
| | | # 连接超时时间 |
| | | timeout: 10s |
| | | # 是否开启ssl |