application.yml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. server:
  2. port: 8077
  3. tomcat:
  4. max-connections: 100000
  5. max-http-form-post-size: 102400000
  6. spring:
  7. web:
  8. resources:
  9. static-locations: file:D:/我的文件/博颖项目/华北油田AI检索/smartsearch/src/main/resources/static/
  10. datasource:
  11. name: practice_db
  12. type: com.alibaba.druid.pool.DruidDataSource
  13. driver-class-name: com.mysql.cj.jdbc.Driver
  14. #基本属性
  15. url: jdbc:mysql://office.bowintek.com:3306/smartSearchDB?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&allowPublicKeyRetrieval=true
  16. #url: jdbc:mysql://office.bowintek.com:3306/practicedb?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&allowPublicKeyRetrieval=true
  17. username: root
  18. password: bowin123
  19. smartsearch:
  20. # 数据源基本配置
  21. username: root
  22. password: bowin123
  23. url: jdbc:mysql://office.bowintek.com:3306/smartSearchDB?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
  24. driver-class-name: com.mysql.jdbc.Driver
  25. postgre:
  26. # 数据源基本配置
  27. username: postgres
  28. password: bowin123
  29. url: jdbc:postgresql://office.bowintek.com:5432/postgres
  30. driver-class-name: org.postgresql.Driver
  31. druid:
  32. #监控统计拦截的filters
  33. filters: stat
  34. # driver-class-name: com.mysql.cj.jdbc.Driver
  35. # #基本属性
  36. # url: jdbc:mysql://office.bowintek.com:3306/smartSearchDB?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&allowPublicKeyRetrieval=true
  37. # #url: jdbc:mysql://office.bowintek.com:3306/practicedb?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&allowPublicKeyRetrieval=true
  38. # username: root
  39. # password: bowin123
  40. #配置初始化大小/最小/最大
  41. initial-size: 1
  42. min-idle: 1
  43. max-active: 20
  44. #获取连接等待超时时间
  45. max-wait: 60000
  46. #间隔多久进行一次检测,检测需要关闭的空闲连接
  47. time-between-eviction-runs-millis: 60000
  48. #一个连接在池中最小生存的时间
  49. min-evictable-idle-time-millis: 300000
  50. validation-query: SELECT 1
  51. test-while-idle: true
  52. test-on-borrow: false
  53. test-on-return: false
  54. #打开PSCache,并指定每个连接上PSCache的大小。oracle设为true,mysql设为false。分库分表较多推荐设置为false
  55. pool-prepared-statements: false
  56. max-pool-prepared-statement-per-connection-size: 20
  57. servlet:
  58. multipart:
  59. max-request-size: 50MB
  60. max-file-size: 20MB
  61. jackson:
  62. time-zone: GMT+8
  63. cache:
  64. redis:
  65. time-to-live: 60s
  66. type: redis
  67. redis:
  68. host: 192.168.0.68
  69. #host: 39.98.153.250
  70. port: 6379
  71. database: 0
  72. password: bowin123
  73. #password: borD1234
  74. timeout: 10000
  75. lettuce:
  76. pool:
  77. min-idle: 50
  78. max-idle: 100
  79. max-wait: -1
  80. max-active: 100
  81. #shutdown-timeout: 100ms
  82. mvc:
  83. async:
  84. request-timeout: 300000
  85. format:
  86. date: yyyy-MM-dd
  87. date-time: yyyy-MM-dd HH:mm:ss
  88. elasticsearch:
  89. hosts: 192.168.0.68
  90. port: 9200
  91. schema: http
  92. connectTimeOut: 1000
  93. socketTimeOut: 30000
  94. connectionRequestTimeOut: 500
  95. maxConnectNum: 100
  96. maxConnectPerRoute: 100
  97. preStr: es_
  98. logging:
  99. config: classpath:logback-spring.xml
  100. mybatis:
  101. mapper-locations: classpath:mapping/*.xml,mapping/cquery/*.xml
  102. type-aliases-package: com.bowintek.practice.model
  103. configuration:
  104. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  105. pagehelper:
  106. reasonable: true
  107. supportMethodsArguments: true
  108. params: count=countSql
  109. appconfig:
  110. #开发平台设置
  111. isDev: true
  112. uploadfile-url: d:/sitefile
  113. desKey: MMmmHHss
  114. #ftp配置 192.168.0.51:21@aqfxgk:qwe123
  115. #ftp-host: 192.168.0.68
  116. #ftp-port: 21
  117. #ftp-user: FtpUser
  118. #ftp-pwd: bowin123
  119. ftp-host: 39.98.145.11
  120. ftp-port: 21
  121. ftp-user: BowinFtp
  122. ftp-pwd: Ftp!A2019
  123. #定时服务执行配置
  124. jobconfig:
  125. isRunJob: true
  126. major-cron: '0 0 4 1 * ?'
  127. class-cron: '0 0 5 1 * ?'
  128. student-cron: '0 0 6 1 * ?'
  129. teacher-cron: '0 0 7 1 * ?'
  130. #同步教务系统组织结构数据配置
  131. educonfig:
  132. oracledb:
  133. username: sx_grant_view
  134. password: zytec712
  135. url: jdbc:oracle:thin:@//183.56.239.71:1521/edu_gdyfvccm
  136. driver-class-name: oracle.jdbc.OracleDriver
  137. oauthconfig:
  138. oauthUrl: http://user.api.uat.pcep.cloud/
  139. client_id: 2d4a5b3c-dc6c-4231-914c-ca1a4d3a134b
  140. client_secret: e2afdc026c4e745714d2f3b2a2e393686c11f66f
  141. hdfshelperurl: http://10.73.178.206:8078/hdfshelper/