| | |
| | | autoconfigure: |
| | | # noinspection SpringBootApplicationYaml |
| | | exclude: |
| | | # - com.binarywang.spring.starter.wxjava.mp.config.storage.WxMpInRedisTemplateConfigStorageConfiguration |
| | | # - com.binarywang.spring.starter.wxjava.miniapp.config.storage.WxMaInRedisTemplateConfigStorageConfiguration |
| | | - org.springframework.boot.autoconfigure.quartz.QuartzAutoConfiguration # 默认 local 环境,不开启 Quartz 的自动配置 |
| | | - org.dromara.trans.config.TransServiceConfig # easy-trans 3.0.6 依赖 Spring Boot 3 的 RestTemplateBuilder,暂时禁用 |
| | | - org.springframework.ai.vectorstore.qdrant.autoconfigure.QdrantVectorStoreAutoConfiguration # 禁用 AI 模块的 Qdrant,手动创建 |
| | | - org.springframework.ai.vectorstore.redis.autoconfigure.RedisVectorStoreAutoConfiguration # 禁用 AI 模块的 Redis,手动创建 |
| | | - org.springframework.ai.vectorstore.milvus.autoconfigure.MilvusVectorStoreAutoConfiguration # 禁用 AI 模块的 Milvus,手动创建 |
| | | - org.dromara.trans.config.TransServiceConfig # TODO 芋艿:easy-trans 兼容 Spring Boot 4 后移除(TransServiceConfig 引用了已移除的 RestTemplateBuilder) |
| | | # TODO 芋艿:spring-ai-alibaba 2.0.0-M1.1 的 DashScope 自动配置暂不兼容 Spring AI 2.0.0 |
| | | - com.alibaba.cloud.ai.autoconfigure.dashscope.DashScopeChatAutoConfiguration |
| | | - com.alibaba.cloud.ai.autoconfigure.dashscope.DashScopeAgentAutoConfiguration |
| | | - com.alibaba.cloud.ai.autoconfigure.dashscope.DashScopeImageAutoConfiguration |
| | | - com.alibaba.cloud.ai.autoconfigure.dashscope.DashScopeVideoAutoConfiguration |
| | | - com.alibaba.cloud.ai.autoconfigure.dashscope.DashScopeAudioSpeechAutoConfiguration |
| | | - com.alibaba.cloud.ai.autoconfigure.dashscope.DashScopeAudioTranscriptionAutoConfiguration |
| | | - com.alibaba.cloud.ai.autoconfigure.dashscope.DashScopeRerankAutoConfiguration |
| | | - com.alibaba.cloud.ai.autoconfigure.dashscope.DashScopeEmbeddingAutoConfiguration |
| | | - com.alibaba.cloud.ai.autoconfigure.dashscope.DashScopeMultimodalEmbeddingAutoConfiguration |
| | | - com.alibaba.cloud.ai.autoconfigure.dashscope.DashScopeAsyncToolCallingManagerAutoConfiguration |
| | | # 数据源配置项 |
| | | datasource: |
| | | druid: # Druid 【监控】相关的全局配置 |
| | |
| | | primary: master |
| | | datasource: |
| | | master: |
| | | url: jdbc:mysql://172.17.0.1:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例 |
| | | url: jdbc:mysql://172.17.0.1:11101/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例 |
| | | # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&rewriteBatchedStatements=true # MySQL Connector/J 5.X 连接的示例 |
| | | # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例 |
| | | # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例 |
| | |
| | | # url: jdbc:dm://127.0.0.1:5236?schema=RUOYI_VUE_PRO # DM 连接的示例 |
| | | # url: jdbc:kingbase8://127.0.0.1:54321/test # 人大金仓 KingbaseES 连接的示例 |
| | | # url: jdbc:postgresql://127.0.0.1:5432/postgres # OpenGauss 连接的示例 |
| | | # url: jdbc:postgresql://127.0.0.1:5866/ruoyi-vue-pro # 瀚高 HighGo 连接的示例 |
| | | username: root |
| | | password: xd@123456.. |
| | | # username: sa # SQL Server 连接的示例 |
| | |
| | | # password: SYSDBA001 # DM 连接的示例 |
| | | # username: root # OpenGauss 连接的示例 |
| | | # password: Yudao@2024 # OpenGauss 连接的示例 |
| | | # username: root # 瀚高 HighGo 连接的示例 |
| | | # password: 123456 # 瀚高 HighGo 连接的示例 |
| | | slave: # 模拟从库,可根据自己需要修改 |
| | | lazy: true # 开启懒加载,保证启动速度 |
| | | url: jdbc:mysql://172.17.0.1:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true&nullCatalogMeansCurrent=true |
| | | url: jdbc:mysql://172.17.0.1:11101/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true&nullCatalogMeansCurrent=true |
| | | username: root |
| | | password: xd@123456.. |
| | | # tdengine: # IoT 数据库(需要 IoT 物联网再开启噢!) |
| | | # lazy: true # 开启懒加载,保证启动速度 |
| | | # url: jdbc:TAOS-WS://127.0.0.1:6041/ruoyi_vue_pro?varcharAsString=true |
| | | # driver-class-name: com.taosdata.jdbc.ws.WebSocketDriver |
| | | # username: root |
| | | # password: taosdata |
| | | # druid: |
| | | # validation-query: SELECT SERVER_STATUS() # TDengine 数据源的有效性检查 SQL |
| | | password: xd@123456 |
| | | # tdengine: # IoT 数据库(需要 IoT 物联网再开启噢!) |
| | | # lazy: true # 开启懒加载,保证启动速度 |
| | | # url: jdbc:TAOS-WS://127.0.0.1:6041/ruoyi_vue_pro?varcharAsString=true&enableAutoReconnect=true # 参见:https://t.zsxq.com/qaX9c,开启 TDengine WebSocket 自动重连 |
| | | # driver-class-name: com.taosdata.jdbc.ws.WebSocketDriver |
| | | # username: root |
| | | # password: taosdata |
| | | # druid: |
| | | # validation-query: SELECT SERVER_STATUS() # TDengine 数据源的有效性检查 SQL |
| | | |
| | | # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优 |
| | | data: |
| | | redis: |
| | | host: 172.17.0.1 # 地址 |
| | | port: 6379 # 端口 |
| | | database: 14 # 数据库索引 |
| | | port: 11102 # 端口 |
| | | database: 0 # 数据库索引 |
| | | # password: dev # 密码,建议生产环境开启 |
| | | |
| | | --- #################### 定时任务相关配置 #################### |
| | |
| | | cn.iocoder.yudao.module.iot.dal.tdengine: DEBUG |
| | | cn.iocoder.yudao.module.iot.service.rule: debug |
| | | cn.iocoder.yudao.module.ai.dal.mysql: debug |
| | | cn.iocoder.yudao.module.im.dal.mysql: debug |
| | | org.springframework.context.support.PostProcessorRegistrationDelegate: ERROR # TODO 芋艿:先禁用,Spring Boot 3.X 存在部分错误的 WARN 提示 |
| | | |
| | | debug: false |
| | |
| | | --- #################### 微信公众号、小程序相关配置 #################### |
| | | wx: |
| | | mp: # 公众号配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-mp-spring-boot-starter/README.md 文档 |
| | | # app-id: wx041349c6f39b268b # 测试号(牛希尧提供的) |
| | | # secret: 5abee519483bc9f8cb37ce280e814bd0 |
| | | # app-id: wx5b23ba7a5589ecbb # 测试号(自己的) |
| | | # secret: 2a7b3b20c537e52e74afd395eb85f61f |
| | | # app-id: wx041349c6f39b268b # 测试号(牛希尧提供的) |
| | | # secret: 5abee519483bc9f8cb37ce280e814bd0 |
| | | # app-id: wx5b23ba7a5589ecbb # 测试号(自己的) |
| | | # secret: 2a7b3b20c537e52e74afd395eb85f61f |
| | | app-id: wxf56b1542b9e85f8a # 测试号(Kongdy 提供的) |
| | | secret: 496379dcef1ba869e9234de8d598cfd3 |
| | | # 存储配置,解决 AccessToken 的跨节点的共享 |
| | |
| | | miniapp: # 小程序配置(必填),参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-starters/wx-java-miniapp-spring-boot-starter/README.md 文档 |
| | | # appid: wx62056c0d5e8db250 # 测试号(牛希尧提供的) |
| | | # secret: 333ae72f41552af1e998fe1f54e1584a |
| | | # appid: wx63c280fe3248a3e7 # wenhualian的接口测试号 |
| | | # secret: 6f270509224a7ae1296bbf1c8cb97aed |
| | | # appid: wx63c280fe3248a3e7 # wenhualian的接口测试号 |
| | | # secret: 6f270509224a7ae1296bbf1c8cb97aed |
| | | appid: wxc4598c446f8a9cb3 # 测试号(Kongdy 提供的) |
| | | secret: 4a1a04e07f6a4a0751b39c3064a92c8b |
| | | # appid: wx66186af0759f47c9 # 测试号(puhui 提供的) |
| | | # secret: 3218bcbd112cbc614c7264ceb20144ac |
| | | # appid: wx66186af0759f47c9 # 测试号(puhui 提供的) |
| | | # secret: 3218bcbd112cbc614c7264ceb20144ac |
| | | config-storage: |
| | | type: RedisTemplate # 采用 RedisTemplate 操作 Redis,会自动从 Spring 中获取 |
| | | key-prefix: wa # Redis Key 的前缀 |
| | |
| | | wxa-subscribe-message: |
| | | miniprogram-state: developer # 跳转小程序类型:开发版为 “developer”;体验版为 “trial”为;正式版为 “formal” |
| | | tencent-lbs-key: TVDBZ-TDILD-4ON4B-PFDZA-RNLKH-VVF6E # QQ 地图的密钥 https://lbs.qq.com/service/staticV2/staticGuide/staticDoc |
| | | storage: # 文件上传配置 |
| | | path: /data/javaWork/mom/file # 文件存储根目录 |
| | | url-prefix: /admin-api/system/storage-blob # URL路径前缀 |
| | | domain: https://test.your-domain.com # 域名前缀(按实际域名配置) |
| | | expired: 120 # token过期时间(分钟) |
| | | use-limit: 10 # token使用次数上限 |
| | | jwt-secret: abcdefghijklmnopqrstuvwxyz0123456789ABCDEFG # JWT密钥 |
| | | compress: true # 是否压缩图片 |
| | | need-compress-size: 10MB # 触发压缩的文件大小阈值 |
| | | compress-quality: 0.5 # 压缩质量(0.0-1.0) |
| | | |
| | | justauth: |
| | | enabled: true |