application.yml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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?autoReconnect=true&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: bowin@123
  19. smartsearch:
  20. # 数据源基本配置
  21. username: root
  22. password: bowin@123
  23. url: jdbc:mysql://office.bowintek.com:3306/smartSearchDB?autoReconnect=true&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: office.bowintek.com
  90. port: 9200
  91. user: hyzc_default
  92. password: BBBBAAAAYwAAAAAAAAAJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAABAAAACdw1GRyLaxi89wQGFTEmBgMy+ly28Z2loKSoRaEAAAAAAQAAAQAAAAAAAAAjtQGieqqki1A4xVkfYeZGms/klXk6kZQjTO898+I61DTughO/3UUIAVjdcN3hPIPmqPhra2Y0p8gFNG/cC3PiN677bQ==
  93. schema: http
  94. krb5: E:\es_pro\out\config\krb5.conf
  95. jaas: E:\es_pro\out\config\es.pfl.jaas.conf
  96. keytab: E:\es_pro\out\config\user.keytab
  97. connectTimeOut: 1000
  98. socketTimeOut: 30000
  99. connectionRequestTimeOut: 500
  100. maxConnectNum: 100
  101. maxConnectPerRoute: 100
  102. preStr: es_
  103. isDev: 1
  104. logging:
  105. config: classpath:logback-spring.xml
  106. mybatis:
  107. mapper-locations: classpath:mapping/*.xml,mapping/cquery/*.xml
  108. type-aliases-package: com.bowintek.practice.model
  109. configuration:
  110. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  111. pagehelper:
  112. helperDialect: postgresql
  113. reasonable: true
  114. supportMethodsArguments: true
  115. params: count=countSql
  116. appconfig:
  117. #开发平台设置
  118. isDev: true
  119. uploadfile-url: D:\我的文件\博颖项目\华北油田AI检索\smartsearch\src\main\resources\static\doc
  120. desKey: MMmmHHss
  121. ftp-host: 39.98.145.11
  122. ftp-port: 21
  123. ftp-user: BowinFtp
  124. ftp-pwd: Ftp!A2019
  125. #定时服务执行配置
  126. jobconfig:
  127. isRunJob: true
  128. major-cron: '0 0 4 1 * ?'
  129. class-cron: '0 0 5 1 * ?'
  130. student-cron: '0 0 6 1 * ?'
  131. teacher-cron: '0 0 7 1 * ?'
  132. #同步教务系统组织结构数据配置
  133. educonfig:
  134. oracledb:
  135. username: sx_grant_view
  136. password: zytec712
  137. url: jdbc:oracle:thin:@//183.56.239.71:1521/edu_gdyfvccm
  138. driver-class-name: oracle.jdbc.OracleDriver
  139. oauthconfig:
  140. oauthUrl: http://user.api.uat.pcep.cloud/
  141. client_id: 2d4a5b3c-dc6c-4231-914c-ca1a4d3a134b
  142. client_secret: e2afdc026c4e745714d2f3b2a2e393686c11f66f
  143. hdfshelperurl: http://localhost:8078/hdfshelper/