| | |
| | | server-address: 127.0.0.1:7700 |
| | | store-strategy: disk |
| | | |
| | | --- # easy-retry 配置 |
| | | easy-retry: |
| | | enabled: false |
| | | # 需要在EasyRetry后台组管理创建对应名称的组,然后创建任务的时候选择对应的组,才能正确分派任务 |
| | | group-name: "ruoyi_group" |
| | | server: |
| | | host: 127.0.0.1 |
| | | port: 1788 |
| | | # 详见 script/sql/easy_retry.sql `namespace` 表 |
| | | namespace: ${spring.profiles.active} |
| | | |
| | | --- # 数据源配置 |
| | | spring: |
| | | datasource: |
| | |
| | | driverClassName: com.mysql.cj.jdbc.Driver |
| | | # jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562 |
| | | # rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题) |
| | | url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true |
| | | url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true |
| | | username: root |
| | | password: root |
| | | # 从库数据源 |
| | |
| | | lazy: true |
| | | type: ${spring.datasource.type} |
| | | driverClassName: com.mysql.cj.jdbc.Driver |
| | | url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true |
| | | url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true |
| | | username: |
| | | password: |
| | | # oracle: |
| | |
| | | |
| | | --- # 三方授权 |
| | | justauth: |
| | | enabled: true |
| | | # 前端外网访问地址 |
| | | address: http://localhost:80 |
| | | type: |
| | |
| | | client-id: 876892492581044224 |
| | | client-secret: x1Y5MTMwNzIwMjMxNTM4NDc3Mzche8 |
| | | redirect-uri: ${justauth.address}/social-callback?source=maxkey |
| | | topiam: |
| | | # topiam 服务器地址 |
| | | server-url: http://127.0.0.1:1989/api/v1/authorize/y0q************spq***********8ol |
| | | client-id: 449c4*********937************759 |
| | | client-secret: ac7***********1e0************28d |
| | | redirect-uri: ${justauth.address}/social-callback?source=topiam |
| | | scopes: [ openid, email, phone, profile ] |
| | | qq: |
| | | client-id: 10**********6 |
| | | client-secret: 1f7d08**********5b7**********29e |