| | |
| | | accessKey: admin |
| | | secretKey: 12345678 |
| | | preview-expiry: 24 # 预览地址默认24小时 |
| | | default-bucket: uploadPath |
| | | default-bucket: jxc |
| | | # 用户配置 |
| | | user: |
| | | password: |
| | |
| | | druid: |
| | | # 主库数据源 |
| | | master: |
| | | url: jdbc:mysql://192.168.1.185:3306/product-inventory-management-hckx?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | url: jdbc:mysql://172.17.0.1:3306/product-inventory-management-hckx?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | username: root |
| | | password: xd@123456.. |
| | | # 从库数据源 |
| | |
| | | redis: |
| | | # 地址 |
| | | # host: 127.0.0.1 |
| | | host: 192.168.1.185 |
| | | host: 172.17.0.1 |
| | | # 端口,默认为6379 |
| | | port: 6379 |
| | | # 数据库索引 |
| | |
| | | # #连接池最大阻塞等待时间(使用负值表示没有限制) |
| | | max-wait: -1ms |
| | | |
| | | # Quartz定时任务配置(新增部分) |
| | | quartz: |
| | | job-store-type: jdbc # 使用数据库存储 |
| | | jdbc: |
| | | initialize-schema: never # 首次运行时自动创建表结构,成功后改为never |
| | | schema: classpath:org/quartz/impl/jdbcjobstore/tables_mysql_innodb.sql # MySQL表结构脚本 |
| | | properties: |
| | | org: |
| | | quartz: |
| | | scheduler: |
| | | instanceName: RuoYiScheduler |
| | | instanceId: AUTO |
| | | jobStore: |
| | | class: org.quartz.impl.jdbcjobstore.JobStoreTX |
| | | driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate # MySQL适配 |
| | | tablePrefix: qrtz_ # 表名前缀,与脚本一致 |
| | | isClustered: false # 单节点模式(集群需改为true) |
| | | clusterCheckinInterval: 10000 |
| | | txIsolationLevelSerializable: true |
| | | threadPool: |
| | | class: org.quartz.simpl.SimpleThreadPool |
| | | threadCount: 10 # 线程池大小 |
| | | threadPriority: 5 |
| | | makeThreadsDaemons: true |
| | | updateCheck: false # 关闭版本检查 |
| | | # token配置 |
| | | token: |
| | | # 令牌自定义标识 |