application.yml 5.3 KB

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