| | |
| | | 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 |
| | | port: 27777 |
| | | protocol: http |
| | | server-address: 127.0.0.1:7700 |
| | | store-strategy: disk |
| | | |
| | | --- # 数据源配置 |
| | | spring: |