| | |
| | | username: ruoyi |
| | | password: 123456 |
| | | |
| | | --- # xxl-job 配置 |
| | | xxl.job: |
| | | # 执行器开关 |
| | | enabled: true |
| | | # 调度中心地址:如调度中心集群部署存在多个地址则用逗号分隔。 |
| | | admin-addresses: http://localhost:9100/xxl-job-admin |
| | | # 执行器通讯TOKEN:非空时启用 |
| | | access-token: xxl-job |
| | | executor: |
| | | # 执行器AppName:执行器心跳注册分组依据;为空则关闭自动注册 |
| | | appname: xxl-job-executor |
| | | # 执行器端口号 执行器从9101开始往后写 |
| | | port: 9101 |
| | | # 执行器注册:默认IP:PORT |
| | | address: |
| | | # 执行器IP:默认自动获取IP |
| | | ip: |
| | | # 执行器运行日志文件存储磁盘路径 |
| | | logpath: ./logs/xxl-job |
| | | # 执行器日志文件保存天数:大于3生效 |
| | | logretentiondays: 30 |
| | | --- # powerjob 配置 |
| | | powerjob: |
| | | worker: |
| | | # 如何开启调度中心请查看文档教程 |
| | | enabled: false |
| | | # 需要先在 powerjob 登录页执行应用注册后才能使用 |
| | | app-name: ruoyi-worker |
| | | enable-test-mode: false |
| | | max-appended-wf-context-length: 4096 |
| | | max-result-length: 4096 |
| | | # 28080 端口 随着主应用端口飘逸 避免集群冲突 |
| | | port: 2${server.port} |
| | | protocol: http |
| | | server-address: 127.0.0.1:7700 |
| | | store-strategy: disk |
| | | |
| | | --- # 数据源配置 |
| | | spring: |
| | |
| | | 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 |
| | | url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=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 |
| | | url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true |
| | | username: |
| | | password: |
| | | # oracle: |
| | |
| | | # 连接超时时间 |
| | | timeout: 10s |
| | | # 是否开启ssl |
| | | ssl: false |
| | | ssl.enabled: false |
| | | |
| | | redisson: |
| | | # redis key前缀 |
| | |
| | | sdkAppId: appid |
| | | #地域信息默认为 ap-guangzhou 如无特殊改变可不用设置 |
| | | territory: ap-guangzhou |
| | | |
| | | |
| | | --- # 三方授权 |
| | | justauth: |
| | | enabled: true |
| | | # 前端外网访问地址 |
| | | address: http://localhost:80 |
| | | type: |
| | | maxkey: |
| | | # maxkey 服务器地址 |
| | | # 注意 如下均配置均不需要修改 maxkey 已经内置好了数据 |
| | | server-url: http://sso.maxkey.top |
| | | client-id: 876892492581044224 |
| | | client-secret: x1Y5MTMwNzIwMjMxNTM4NDc3Mzche8 |
| | | redirect-uri: ${justauth.address}/social-callback?source=maxkey |
| | | qq: |
| | | client-id: 10**********6 |
| | | client-secret: 1f7d08**********5b7**********29e |
| | | redirect-uri: ${justauth.address}/social-callback?source=qq |
| | | union-id: false |
| | | weibo: |
| | | client-id: 10**********6 |
| | | client-secret: 1f7d08**********5b7**********29e |
| | | redirect-uri: ${justauth.address}/social-callback?source=weibo |
| | | gitee: |
| | | client-id: 91436b7940090d09c72c7daf85b959cfd5f215d67eea73acbf61b6b590751a98 |
| | | client-secret: 02c6fcfd70342980cd8dd2f2c06c1a350645d76c754d7a264c4e125f9ba915ac |
| | | redirect-uri: ${justauth.address}/social-callback?source=gitee |
| | | dingtalk: |
| | | client-id: 10**********6 |
| | | client-secret: 1f7d08**********5b7**********29e |
| | | redirect-uri: ${justauth.address}/social-callback?source=dingtalk |
| | | baidu: |
| | | client-id: 10**********6 |
| | | client-secret: 1f7d08**********5b7**********29e |
| | | redirect-uri: ${justauth.address}/social-callback?source=baidu |
| | | csdn: |
| | | client-id: 10**********6 |
| | | client-secret: 1f7d08**********5b7**********29e |
| | | redirect-uri: ${justauth.address}/social-callback?source=csdn |
| | | coding: |
| | | client-id: 10**********6 |
| | | client-secret: 1f7d08**********5b7**********29e |
| | | redirect-uri: ${justauth.address}/social-callback?source=coding |
| | | coding-group-name: xx |
| | | oschina: |
| | | client-id: 10**********6 |
| | | client-secret: 1f7d08**********5b7**********29e |
| | | redirect-uri: ${justauth.address}/social-callback?source=oschina |
| | | alipay_wallet: |
| | | client-id: 10**********6 |
| | | client-secret: 1f7d08**********5b7**********29e |
| | | redirect-uri: ${justauth.address}/social-callback?source=alipay_wallet |
| | | alipay-public-key: MIIB**************DAQAB |
| | | wechat_open: |
| | | client-id: 10**********6 |
| | | client-secret: 1f7d08**********5b7**********29e |
| | | redirect-uri: ${justauth.address}/social-callback?source=wechat_open |
| | | wechat_mp: |
| | | client-id: 10**********6 |
| | | client-secret: 1f7d08**********5b7**********29e |
| | | redirect-uri: ${justauth.address}/social-callback?source=wechat_mp |
| | | wechat_enterprise: |
| | | client-id: 10**********6 |
| | | client-secret: 1f7d08**********5b7**********29e |
| | | redirect-uri: ${justauth.address}/social-callback?source=wechat_enterprise |
| | | agent-id: 1000002 |
| | | gitlab: |
| | | client-id: 10**********6 |
| | | client-secret: 1f7d08**********5b7**********29e |
| | | redirect-uri: ${justauth.address}/social-callback?source=gitlab |