application-dev.yml 14KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456
  1. v2:
  2. #虚拟路径映射路径 2个文件路径一一对应 第一个为主存储,其他为配置相关
  3. xnljmap:
  4. #win服务器 本地 注意!! 记住这个结尾有一个/
  5. oss: file:/data/qomo-boot/oss/
  6. # oss: file:D:/upload/
  7. #linux服务器
  8. #oss: file:/home/webapps/oss/
  9. #虚拟路径映射路径 end
  10. #本地存放地址 注意!! 记住这个结尾没有/
  11. fileurl: /data/qomo-boot/oss
  12. # fileurl: D:/upload
  13. #http://127.0.0.1:8080/oss/{yy}/2022-12-22/c83a77ae134a540c30daa6a0666fa945.md
  14. httpurl: /qomo/
  15. defaultFormat: .png
  16. server:
  17. port: 8095
  18. tomcat:
  19. max-swallow-size: -1
  20. error:
  21. include-exception: true
  22. include-stacktrace: ALWAYS
  23. include-message: ALWAYS
  24. servlet:
  25. context-path: /qomo
  26. compression:
  27. enabled: true
  28. min-response-size: 1024
  29. mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/*
  30. management:
  31. endpoints:
  32. web:
  33. exposure:
  34. include: metrics,httptrace
  35. spring:
  36. servlet:
  37. multipart:
  38. max-file-size: 10MB
  39. max-request-size: 10MB
  40. mail:
  41. host: smtp.163.com
  42. username: jeecgos@163.com
  43. password: ??
  44. properties:
  45. mail:
  46. smtp:
  47. auth: true
  48. starttls:
  49. enable: true
  50. required: true
  51. ## quartz定时任务,采用数据库方式
  52. quartz:
  53. job-store-type: jdbc
  54. initialize-schema: embedded
  55. #定时任务启动开关,true-开 false-关
  56. auto-startup: true
  57. #延迟1秒启动定时任务
  58. startup-delay: 1s
  59. #启动时更新己存在的Job
  60. overwrite-existing-jobs: true
  61. properties:
  62. org:
  63. quartz:
  64. scheduler:
  65. instanceName: MyScheduler
  66. instanceId: AUTO
  67. jobStore:
  68. class: org.springframework.scheduling.quartz.LocalDataSourceJobStore
  69. driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate
  70. tablePrefix: QRTZ_
  71. isClustered: true
  72. misfireThreshold: 12000
  73. clusterCheckinInterval: 15000
  74. threadPool:
  75. class: org.quartz.simpl.SimpleThreadPool
  76. threadCount: 10
  77. threadPriority: 5
  78. threadsInheritContextClassLoaderOfInitializingThread: true
  79. #json 时间戳统一转换
  80. jackson:
  81. date-format: yyyy-MM-dd HH:mm:ss
  82. time-zone: GMT+8
  83. jpa:
  84. open-in-view: false
  85. # http请求配置
  86. rest:
  87. livy:
  88. server: http://192.168.50.9:7997
  89. spark:
  90. # 组件部署路径,默认是部署在hdfs 如果是本地路径则在前面加上local:
  91. main-jar: local:/opt/services/deploy-jars/dev/qomo-data-component-${Qomo.version}-jar-with-dependencies.jar
  92. main-class: com.zzsmart.qomo.QomoSparkStarter
  93. # spark默认运行参数
  94. deploy-mode: cluster
  95. queue: default
  96. num-executors: 2
  97. executor-cores: 1
  98. executor-memory: 1G
  99. driver-cores: 1
  100. driver-memory: 512M
  101. # 客户端类型
  102. client-type: urlconnection
  103. # URLConnection配置
  104. url-connection:
  105. # 客户端和服务器建立连接超时时间
  106. connect-timeout: 2000
  107. # 客户端从服务器读取数据包超时时间
  108. read-timeout: 30000
  109. # 是否长链接
  110. keep-alive: false
  111. # HttpClient配置
  112. http-client:
  113. # 连接池的最大连接数
  114. max-total-connect: 200
  115. # 相同域名允许创建的最大连接数
  116. max-connect-per-route: 10
  117. # 客户端和服务器建立连接超时时间
  118. connect-timeout: 2000
  119. # 读数据的超时时间
  120. socket-timeout: 30000
  121. # 连接池创建连接时的超时时间
  122. connection-request-timout: 200
  123. # OKHttp配置
  124. ok-http:
  125. # 失败后是否重试
  126. retry-on-connection-failure: false
  127. # 链接超时时间
  128. connect-timeout: 2000
  129. # 读超时时间
  130. read-timeout: 10000
  131. # 写超时时间
  132. write-timeout: 10000
  133. # 最大空闲的连接数
  134. max-idle-connections: 5
  135. # 最大的空闲时间
  136. keep-alive-duration-ns: 3000
  137. aop:
  138. proxy-target-class: true
  139. #配置freemarker
  140. freemarker:
  141. # 设置模板后缀名
  142. suffix: .ftl
  143. # 设置文档类型
  144. content-type: text/html
  145. # 设置页面编码格式
  146. charset: UTF-8
  147. # 设置页面缓存
  148. cache: false
  149. prefer-file-system-access: false
  150. # 设置ftl文件路径
  151. template-loader-path:
  152. - classpath:/template
  153. # - d:/data
  154. template_update_delay: 0
  155. # 设置静态文件路径,js,css等
  156. mvc:
  157. static-path-pattern: /**
  158. #Spring Boot 2.6+后映射匹配的默认策略已从AntPathMatcher更改为PathPatternParser,需要手动指定为ant-path-matcher
  159. pathmatch:
  160. matching-strategy: ant_path_matcher
  161. resource:
  162. static-locations: classpath:/static/,classpath:/public/
  163. autoconfigure:
  164. exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
  165. datasource:
  166. druid:
  167. stat-view-servlet:
  168. enabled: true
  169. loginUsername: admin
  170. loginPassword: 123456
  171. allow:
  172. web-stat-filter:
  173. enabled: true
  174. dynamic:
  175. druid: # 全局druid参数,绝大部分值和默认保持一致。(现已支持的参数如下,不清楚含义不要乱设置)
  176. # 连接池的配置信息
  177. # 初始化大小,最小,最大
  178. initial-size: 5
  179. min-idle: 5
  180. maxActive: 20
  181. # 配置获取连接等待超时的时间
  182. maxWait: 60000
  183. # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
  184. timeBetweenEvictionRunsMillis: 60000
  185. # 配置一个连接在池中最小生存的时间,单位是毫秒
  186. minEvictableIdleTimeMillis: 300000
  187. validationQuery: SELECT 1
  188. testWhileIdle: true
  189. testOnBorrow: false
  190. testOnReturn: false
  191. # 打开PSCache,并且指定每个连接上PSCache的大小
  192. poolPreparedStatements: true
  193. maxPoolPreparedStatementPerConnectionSize: 20
  194. # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
  195. filters: stat,slf4j
  196. filter:
  197. wall:
  198. config:
  199. none-base-statement-allow: true
  200. multi-statement-allow: true
  201. # 通过connectProperties属性来打开mergeSql功能;慢SQL记录
  202. connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
  203. datasource:
  204. master:
  205. url: jdbc:mysql://121.40.189.20:3306/costmanage?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=true&serverTimezone=Asia/Shanghai
  206. username: root
  207. password: YMzc157#
  208. driver-class-name: com.mysql.cj.jdbc.Driver
  209. # url: jdbc:mysql://192.168.50.9:2212/selef_report?useUnicode=true&allowMultiQueries=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&serverTimezone=Asia/Shanghai&useSSL=false
  210. # username: root
  211. # password: root
  212. # 多数据源配置
  213. #multi-datasource1:
  214. #url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
  215. #username: root
  216. #password: root
  217. #driver-class-name: com.mysql.cj.jdbc.Driver
  218. #redis 配置
  219. redis:
  220. database: 5
  221. # host: 192.168.50.9
  222. # port: 7379
  223. # password: 'zzboard'
  224. host: 121.40.189.20
  225. port: 6389
  226. main:
  227. allow-circular-references: true
  228. #rabbitmq 配置
  229. rabbitmq:
  230. host: 192.168.50.9
  231. port: 5672
  232. virtual-host: /qomoflow-dev
  233. username: admin
  234. password: kncloud
  235. connection-timeout: 5000
  236. listener:
  237. simple:
  238. concurrency: 5 # 并发数量
  239. max-concurrency: 10 # 最大并发数量
  240. acknowledge-mode: manual # 开启手动签收
  241. prefetch: 1 # 限制每次只消费一个(一个线程)
  242. #mybatis plus 设置
  243. mybatis-plus:
  244. mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml,classpath*:/mapper/*.xml,classpath*:com/zzsmart/qomo/**/mapper/xml/*.xml
  245. global-config:
  246. # 关闭MP3.0自带的banner
  247. banner: false
  248. db-config:
  249. #主键类型 0:"数据库ID自增",1:"该类型为未设置主键类型", 2:"用户输入ID",3:"全局唯一ID (数字类型唯一ID)", 4:"全局唯一ID UUID",5:"字符串全局唯一ID (idWorker 的字符串表示)";
  250. id-type: ASSIGN_ID
  251. # 默认数据库表下划线命名
  252. table-underline: true
  253. configuration:
  254. # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用
  255. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  256. # log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
  257. # 返回类型为Map,显示null对应的字段
  258. call-setters-on-nulls: true
  259. #jeecg专用配置
  260. minidao:
  261. base-package: org.jeecg.modules.jmreport.*,org.jeecg.modules.drag.*
  262. jeecg:
  263. # 是否启用安全模式
  264. safeMode: false
  265. # 签名密钥串(前后端要一致,正式发布请自行修改)
  266. signatureSecret: dd05f1c54d63749eda95f9fa6d49v442a
  267. # 签名拦截接口
  268. signUrls: /sys/dict/getDictItems/*,/sys/dict/loadDict/*,/sys/dict/loadDictOrderByValue/*,/sys/dict/loadDictItem/*,/sys/dict/loadTreeData,/sys/api/queryTableDictItemsByCode,/sys/api/queryFilterTableDictInfo,/sys/api/queryTableDictByKeys,/sys/api/translateDictFromTable,/sys/api/translateDictFromTableByKeys
  269. #local、minio、alioss
  270. uploadType: local
  271. # 前端访问地址
  272. domainUrl:
  273. pc: http://localhost:3100
  274. app: http://localhost:8051
  275. path:
  276. #文件上传根目录 设置
  277. upload: /opt/upFiles
  278. #webapp文件路径
  279. webapp: /opt/webapp
  280. shiro:
  281. # excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**,/api/getUserInfo,/sys/sysDepart/**,/taskSocket/**,/flowSocket/**
  282. excludeUrls: /**/**,/**/**/**
  283. #阿里云oss存储和大鱼短信秘钥配置
  284. oss:
  285. accessKey: ??
  286. secretKey: ??
  287. endpoint: oss-cn-beijing.aliyuncs.com
  288. bucketName: jeecgdev
  289. minio:
  290. minio_url: http://192.168.50.102:9000
  291. minio_name: admin
  292. minio_pass: minioadmin
  293. bucketName: bucket803
  294. # ElasticSearch 6设置
  295. elasticsearch:
  296. cluster-name: elasticsearch-cluster
  297. cluster-nodes: 192.168.50.9:9200
  298. check-enabled: false
  299. task-data-index: task_data_dev/_doc
  300. task-data-struct-index: task_data_struct_dev/_doc
  301. task-data-temp-index: task_data_temp_dev/_doc
  302. task-log-index: task_log_dev/_doc
  303. # 在线预览文件服务器地址配置
  304. file-view-domain: http://fileview.jeecg.com
  305. # minio文件上传
  306. # minio:
  307. # minio_url: http://minio.jeecg.com
  308. # minio_name: ??
  309. # minio_pass: ??
  310. # bucketName: otatest
  311. #大屏报表参数设置
  312. jmreport:
  313. mode: dev
  314. #数据字典是否进行saas数据隔离,自己看自己的字典
  315. saas: false
  316. #xxl-job配置
  317. xxljob:
  318. enabled: false
  319. adminAddresses: http://127.0.0.1:9080/xxl-job-admin
  320. appname: ${spring.application.name}
  321. accessToken: ''
  322. address: 127.0.0.1:30007
  323. ip: 127.0.0.1
  324. port: 30007
  325. logPath: logs/jeecg/job/jobhandler/
  326. logRetentionDays: 30
  327. #分布式锁配置
  328. redisson:
  329. address: 127.0.0.1:6379
  330. password:
  331. type: STANDALONE
  332. enabled: true
  333. #cas单点登录
  334. cas:
  335. server:
  336. host:
  337. #CAS服务地址
  338. url: http://192.168.50.9:8167/cas
  339. #Mybatis输出sql日志
  340. logging:
  341. level:
  342. org.jeecg.modules.system.mapper: info
  343. #swagger
  344. knife4j:
  345. #开启增强配置
  346. enable: true
  347. #开启生产环境屏蔽
  348. production: false
  349. basic:
  350. enable: false
  351. username: jeecg
  352. password: jeecg1314
  353. #第三方登录
  354. justauth:
  355. enabled: true
  356. type:
  357. GITHUB:
  358. client-id: ??
  359. client-secret: ??
  360. redirect-uri: http://sso.test.com:8080/jeecg-boot/sys/thirdLogin/github/callback
  361. WECHAT_ENTERPRISE:
  362. client-id: ??
  363. client-secret: ??
  364. redirect-uri: http://sso.test.com:8080/jeecg-boot/sys/thirdLogin/wechat_enterprise/callback
  365. agent-id: ??
  366. DINGTALK:
  367. client-id: ??
  368. client-secret: ??
  369. redirect-uri: http://sso.test.com:8080/jeecg-boot/sys/thirdLogin/dingtalk/callback
  370. WECHAT_OPEN:
  371. client-id: ??
  372. client-secret: ??
  373. redirect-uri: http://sso.test.com:8080/jeecg-boot/sys/thirdLogin/wechat_open/callback
  374. cache:
  375. type: default
  376. prefix: 'demo::'
  377. timeout: 1h
  378. #第三方APP对接
  379. third-app:
  380. enabled: false
  381. type:
  382. #企业微信
  383. WECHAT_ENTERPRISE:
  384. enabled: false
  385. #CORP_ID
  386. client-id: ??
  387. #SECRET
  388. client-secret: ??
  389. #自建应用id
  390. agent-id: ??
  391. #自建应用秘钥(新版企微需要配置)
  392. # agent-app-secret: ??
  393. #钉钉
  394. DINGTALK:
  395. enabled: false
  396. # appKey
  397. client-id: ??
  398. # appSecret
  399. client-secret: ??
  400. agent-id: ??
  401. spark:
  402. app:
  403. name: yl
  404. home: 127.0.0.1
  405. master:
  406. uri: local[*]
  407. driver:
  408. memory: 2g
  409. worker:
  410. memory: 2g
  411. executor:
  412. memory: 1g
  413. rpc:
  414. message:
  415. maxSize: 1024
  416. flowable:
  417. process:
  418. definition-cache-limit: -1
  419. database-schema-update: true
  420. activity-font-name: 宋体
  421. label-font-name: 宋体
  422. annotation-font-name: 宋体
  423. #关闭定时任务JOB
  424. async-executor-activate: false
  425. #消息链接基地址
  426. message-base-url: http://192.168.50.9:3000/flowable/task/record/
  427. Qomo:
  428. version: @project.version@
  429. modelPath: /opt/services/deploy-jars/algo/model
  430. seaTunnelHome: /opt/service/apache-seatunnel-2.3.4
  431. hiveMetastoreUri: thrift://192.168.50.102:9083
  432. minio:
  433. server: http://192.168.50.102
  434. port: 9000
  435. access-key: admin
  436. secret-key: minioadmin
  437. bucketName: bucket1
  438. condaEnv: py310
  439. analysis:
  440. consistency:
  441. url: http://192.168.50.9:1314/analysis