application.yml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377
  1. server:
  2. port: 10260
  3. spring:
  4. datasource:
  5. hikari:
  6. registerMbeans: true
  7. driver-class-name: com.mysql.jdbc.Driver
  8. max-active: 100
  9. max-idle: 100 #最大空闲连接
  10. min-idle: 10 #最小空闲连接
  11. validation-query-timeout: 20
  12. connection-timeout: 60000
  13. validation-timeout: 3000
  14. max-lifetime: 60000
  15. login-timeout: 5
  16. maximum-pool-size: 60
  17. minimum-idle: 10
  18. log-validation-errors: true
  19. validation-interval: 60000 #避免过度验证,保证验证不超过这个频率——以毫秒为单位。如果一个连接应该被验证,但上次验证未达到指定间隔,将不再次验证。
  20. validation-query: SELECT 1 #SQL 查询, 用来验证从连接池取出的连接, 在将连接返回给调用者之前。 如果指定, 则查询必须是一个SQL SELECT 并且必须返回至少一行记录
  21. test-on-borrow: true #指明是否在从池中取出连接前进行检验, 如果检验失败, 则从池中去除连接并尝试取出另一个。注意: 设置为true 后如果要生效,validationQuery 参数必须设置为非空字符串
  22. test-on-return: true #指明是否在归还到池中前进行检验 注意: 设置为true 后如果要生效validationQuery 参数必须设置为非空字符串
  23. idle-timeout: 60000
  24. connection-test-query: SELECT 1
  25. num-tests-per-eviction-run: 100 #在每次空闲连接回收器线程(如果有)运行时检查的连接数量,最好和maxActive
  26. test-while-idle: true #指明连接是否被空闲连接回收器(如果有)进行检验,如果检测失败,则连接将被从池中去除
  27. min-evictable-idle-time-millis: 3600000 #连接池中连接,在时间段内一直空闲,被逐出连接池的时间(1000*60*60),以毫秒为单位
  28. time-between-eviction-runs-millis: 300000 #在空闲连接回收器线程运行期间休眠的时间值,以毫秒为单位,一般比minEvictableIdleTimeMillis小
  29. redis:
  30. database: 0 # Database index used by the connection factory.
  31. timeout: 0 # Connection timeout in milliseconds.
  32. pool:
  33. max-active: 8 # Max number of connections that can be allocated by the pool at a given time. Use a negative value for no limit.
  34. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  35. max-wait: -1 # Maximum amount of time (in milliseconds) a connection allocation should block before throwing an exception when the pool is exhausted. Use a negative value to block indefinitely.
  36. min-idle: 1 # Target for the minimum number of idle connections to maintain in the pool. This settings only has an effect if it is positive.
  37. user:
  38. autoUnlockTime: 5 #账户锁定后,自动解锁时间 以分钟计算
  39. reflashFailedCountTime: 5 #将失败次数重置为0
  40. tryLoginTimes: 5 #失败重试次数
  41. fast-dfs:
  42. tracker-server: 192.0.33.26:22122 #服务器地址
  43. connect-timeout: 2 #链接超时时间
  44. network-timeout: 30
  45. charset: ISO8859-1 #编码
  46. http:
  47. tracker-http-port: 80
  48. anti-steal-token: no
  49. secret-key: FastDFS1234567890
  50. pool: #连接池大小
  51. init-size: 5
  52. max-size: 20
  53. wait-time: 500
  54. ---
  55. spring:
  56. profiles: jwdev
  57. ##发现服务
  58. datasource:
  59. url: jdbc:mysql://172.26.0.114/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  60. username: ssgg
  61. password: ssgg@jkzl2019
  62. redis:
  63. host: 172.26.0.253 # Redis server host.
  64. port: 6379 # Redis server port.
  65. # i健康用户信息接口,开放出来给互联网医院登录同步用户信息用
  66. iHealth:
  67. user-info-uri: http://ehr.yihu.com/wlyy/iHealth/userInfo
  68. zhongshanHospital:
  69. user-info-uri: http://laptop-u738dn2p:10023/mqsdk/getUserInfoByOpenid
  70. fastDFS:
  71. fastdfs_file_url: http://172.26.0.110:8888/
  72. wlyy:
  73. url: http://www.xmtyw.cn/wlyy/
  74. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  75. testPattern:
  76. sign: 0
  77. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  78. wechat:
  79. id: xm_zsyy_wx # base库中,wx_wechat 的id字段
  80. ---
  81. spring:
  82. profiles: jwtest
  83. datasource:
  84. url: jdbc:mysql://172.26.0.104/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  85. username: root
  86. password: jkzlehr
  87. redis:
  88. host: 172.26.0.253 # Redis server host.
  89. port: 6379 # Redis server port.
  90. ##发现服务
  91. ## i健康用户信息接口,开放出来给互联网医院登录同步用户信息用
  92. iHealth:
  93. user-info-uri: http://ehr.yihu.com/wlyy/iHealth/userInfo
  94. zhongshanHospital:
  95. user-info-uri: http://laptop-u738dn2p:10023/mqsdk/getUserInfoByOpenid
  96. fastDFS:
  97. fastdfs_file_url: http://172.26.0.110:8888/
  98. wlyy:
  99. url: http://www.xmtyw.cn/wlyy/
  100. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  101. testPattern:
  102. sign: 0
  103. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  104. wechat:
  105. id: xm_zsyy_wx # base库中,wx_wechat 的id字段
  106. ---
  107. spring:
  108. profiles: jwOracleTest
  109. datasource:
  110. driver-class-name: oracle.jdbc.driver.OracleDriver
  111. url: jdbc:oracle:thin:@172.26.0.141:1521:helowin
  112. username: normal
  113. password: normal
  114. jpa:
  115. properties:
  116. hibernate:
  117. dialect: org.hibernate.dialect.Oracle10gDialect
  118. show_sql: true
  119. database: oracle
  120. # datasource:
  121. # url: jdbc:mysql://172.26.0.104/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  122. # username: root
  123. # password: jkzlehr
  124. redis:
  125. host: 172.26.0.253 # Redis server host.
  126. port: 6379 # Redis server port.
  127. ##发现服务
  128. ## i健康用户信息接口,开放出来给互联网医院登录同步用户信息用
  129. iHealth:
  130. user-info-uri: http://ehr.yihu.com/wlyy/iHealth/userInfo
  131. zhongshanHospital:
  132. user-info-uri: http://laptop-u738dn2p:10023/mqsdk/getUserInfoByOpenid
  133. fastDFS:
  134. fastdfs_file_url: http://172.26.0.110:8888/
  135. wlyy:
  136. url: http://www.xmtyw.cn/wlyy/
  137. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  138. testPattern:
  139. sign: 0
  140. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  141. wechat:
  142. id: xm_ykyy_wx # base库中,wx_wechat 的id字段
  143. ---
  144. spring:
  145. profiles: iottest
  146. datasource:
  147. url: jdbc:mysql://172.26.0.104/iot-base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  148. username: root
  149. password: jkzlehr
  150. redis:
  151. host: 172.26.0.253 # Redis server host.
  152. port: 6379 # Redis server port.
  153. ##发现服务
  154. ## i健康用户信息接口,开放出来给互联网医院登录同步用户信息用
  155. iHealth:
  156. user-info-uri: http://ehr.yihu.com/wlyy/iHealth/userInfo
  157. zhongshanHospital:
  158. user-info-uri: http://laptop-u738dn2p:10023/mqsdk/getUserInfoByOpenid
  159. fastDFS:
  160. fastdfs_file_url: http://172.26.0.110:8888/
  161. wlyy:
  162. url: http://www.xmtyw.cn/wlyy/
  163. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  164. testPattern:
  165. sign: 0
  166. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  167. wechat:
  168. id: xm_zsyy_wx # base库中,wx_wechat 的id字段
  169. ---
  170. spring:
  171. profiles: iotyanshi
  172. datasource:
  173. url: jdbc:mysql://172.26.0.195/iot-base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  174. username: root
  175. password: jkzlehr
  176. redis:
  177. host: 172.26.0.190 # Redis server host.
  178. port: 6379 # Redis server port.
  179. ##发现服务
  180. ## i健康用户信息接口,开放出来给互联网医院登录同步用户信息用
  181. iHealth:
  182. user-info-uri: http://ehr.yihu.com/wlyy/iHealth/userInfo
  183. zhongshanHospital:
  184. user-info-uri: http://laptop-u738dn2p:10023/mqsdk/getUserInfoByOpenid
  185. fastDFS:
  186. fastdfs_file_url: http://172.26.0.110:8888/
  187. wlyy:
  188. url: http://www.xmtyw.cn/wlyy/
  189. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  190. testPattern:
  191. sign: 0
  192. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  193. wechat:
  194. id: xm_zsyy_wx # base库中,wx_wechat 的id字段
  195. ---
  196. spring:
  197. profiles: jwprod
  198. datasource:
  199. url: jdbc:mysql://172.16.1.42/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  200. username: im
  201. password: 2oEq3Kf7
  202. redis:
  203. host: 192.0.33.26 # Redis server host.
  204. port: 6390 # Redis server port.
  205. password: Kb6wKDQP1W4
  206. ##发现服务
  207. iHealth:
  208. user-info-uri: http://www.xmtyw.cn/wlyy/iHealth/userInfo
  209. zhongshanHospital:
  210. user-info-uri: http://laptop-u738dn2p:10023/mqsdk/getUserInfoByOpenid
  211. fastDFS:
  212. fastdfs_file_url: http://192.0.33.26:22122
  213. wlyy:
  214. url: http://www.xmtyw.cn/wlyy/
  215. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  216. testPattern:
  217. sign: 0
  218. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  219. wechat:
  220. id: xm_zsyy_wx # base库中,wx_wechat 的id字段
  221. ---
  222. ## 心脏中心外网
  223. spring:
  224. profiles: xzprod
  225. datasource:
  226. url: jdbc:mysql://172.16.100.240:7306/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  227. username: jzkl
  228. password: jzkl@2020
  229. redis:
  230. host: 172.16.100.240 # Redis server host.
  231. port: 6380 # Redis server port.
  232. password: q4YaQemf
  233. ##发现服务
  234. iHealth:
  235. user-info-uri: http://www.xmtyw.cn/wlyy/iHealth/userInfo
  236. zhongshanHospital:
  237. user-info-uri: http://laptop-u738dn2p:10023/mqsdk/getUserInfoByOpenid
  238. fastDFS:
  239. fastdfs_file_url: http://172.16.100.240:22122
  240. wlyy:
  241. url: http://www.xmtyw.cn/wlyy/
  242. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  243. testPattern:
  244. sign: 2
  245. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  246. wechat:
  247. id: xm_xzzx_wx # base库中,wx_wechat 的id字段
  248. ---
  249. ## 卫计委
  250. spring:
  251. profiles: xmjwprod
  252. datasource:
  253. url: jdbc:mysql://59.61.92.90:9409/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  254. username: wlyy
  255. password: qY#j2n5O
  256. redis:
  257. host: 59.61.92.90 # Redis server host.
  258. port: 9206 # Redis server port.
  259. password: jkzlehr
  260. ##发现服务
  261. iHealth:
  262. user-info-uri: http://www.xmtyw.cn/wlyy/iHealth/userInfo
  263. zhongshanHospital:
  264. user-info-uri: http://laptop-u738dn2p:10023/mqsdk/getUserInfoByOpenid
  265. fastDFS:
  266. fastdfs_file_url: http://192.168.103.159:22122
  267. wlyy:
  268. url: http://www.xmtyw.cn/wlyy/
  269. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  270. testPattern:
  271. sign: 1
  272. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  273. wechat:
  274. id: xm_ihealth_wx # base库中,wx_wechat 的id字段
  275. ---
  276. spring:
  277. profiles: iotprod
  278. datasource:
  279. url: jdbc:mysql://59.61.92.90:20002/iot-base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  280. username: wlyy
  281. password: jkzlehr@123
  282. redis:
  283. host: 59.61.92.90 # Redis server host.
  284. port: 9054 # Redis server port.
  285. password: jkzlehr
  286. ##发现服务
  287. ## i健康用户信息接口,开放出来给互联网医院登录同步用户信息用
  288. iHealth:
  289. user-info-uri: http://ehr.yihu.com/wlyy/iHealth/userInfo
  290. fastDFS:
  291. fastdfs_file_url: http://172.26.0.110:8888/
  292. wlyy:
  293. url: http://www.xmtyw.cn/wlyy/
  294. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  295. testPattern:
  296. sign: 0
  297. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  298. wechat:
  299. id: xm_ykyy_wx # base库中,wx_wechat 的id字段
  300. ---
  301. spring:
  302. profiles: jwystest
  303. datasource:
  304. url: jdbc:mysql://172.26.0.195/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  305. username: root
  306. password: jkzlehr
  307. redis:
  308. host: 172.26.0.190 # Redis server host.
  309. port: 6379 # Redis server port.
  310. ##发现服务
  311. ## i健康用户信息接口,开放出来给互联网医院登录同步用户信息用
  312. iHealth:
  313. user-info-uri: http://ehr.yihu.com/wlyy/iHealth/userInfo
  314. zhongshanHospital:
  315. user-info-uri: http://laptop-u738dn2p:10023/mqsdk/getUserInfoByOpenid
  316. fastDFS:
  317. fastdfs_file_url: http://172.26.0.110:8888/
  318. wlyy:
  319. url: http://www.xmtyw.cn/wlyy/
  320. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  321. testPattern:
  322. sign: 0
  323. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  324. wechat:
  325. id: xm_ykyy_wx # base库中,wx_wechat 的id字段
  326. ---
  327. spring:
  328. profiles: tnJwprod
  329. datasource:
  330. url: jdbc:mysql://10.9.1.247:3306/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  331. username: wlyy
  332. password: qY#j2n5O
  333. redis:
  334. host: 10.9.1.247 # Redis server host.
  335. port: 6380 # Redis server port.
  336. password: Kb6wKDQP1W4
  337. ##发现服务
  338. iHealth:
  339. user-info-uri: http://www.xmtyw.cn/wlyy/iHealth/userInfo
  340. zhongshanHospital:
  341. user-info-uri: http://laptop-u738dn2p:10023/mqsdk/getUserInfoByOpenid
  342. fastDFS:
  343. fastdfs_file_url: http://10.9.1.247:22122
  344. wlyy:
  345. url: http://www.xmtyw.cn/wlyy/
  346. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  347. testPattern:
  348. sign: 0
  349. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  350. wechat:
  351. id: sd_tnzyy_wx # base库中,wx_wechat 的id字段