application.yml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495
  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. kick:
  79. ##互踢 1开通 0关闭
  80. eachOther: 1
  81. im:
  82. im_list_get: http://172.26.0.105:3000/
  83. wechat:
  84. id: xm_zsyy_wx # base库中,wx_wechat 的id字段
  85. ---
  86. spring:
  87. profiles: jwtest
  88. datasource:
  89. url: jdbc:mysql://172.26.0.104/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  90. username: root
  91. password: jkzlehr
  92. redis:
  93. host: 172.26.0.253 # Redis server host.
  94. port: 6379 # Redis server port.
  95. ##发现服务
  96. ## i健康用户信息接口,开放出来给互联网医院登录同步用户信息用
  97. iHealth:
  98. user-info-uri: http://ehr.yihu.com/wlyy/iHealth/userInfo
  99. zhongshanHospital:
  100. user-info-uri: http://laptop-u738dn2p:10023/mqsdk/getUserInfoByOpenid
  101. fastDFS:
  102. fastdfs_file_url: http://172.26.0.110:8888/
  103. wlyy:
  104. url: http://www.xmtyw.cn/wlyy/
  105. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  106. testPattern:
  107. sign: 0
  108. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  109. wechat:
  110. id: xm_zsyy_wx # base库中,wx_wechat 的id字段
  111. im:
  112. im_list_get: http://172.26.0.105:3000/
  113. kick:
  114. ##互踢 1开通 0关闭
  115. eachOther: 0
  116. ---
  117. spring:
  118. profiles: jwOracleTest
  119. datasource:
  120. driver-class-name: oracle.jdbc.driver.OracleDriver
  121. url: jdbc:oracle:thin:@172.26.0.141:1521:helowin
  122. username: normal
  123. password: normal
  124. jpa:
  125. properties:
  126. hibernate:
  127. dialect: org.hibernate.dialect.Oracle10gDialect
  128. show_sql: true
  129. database: oracle
  130. # datasource:
  131. # url: jdbc:mysql://172.26.0.104/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  132. # username: root
  133. # password: jkzlehr
  134. redis:
  135. host: 172.26.0.253 # Redis server host.
  136. port: 6379 # Redis server port.
  137. ##发现服务
  138. ## i健康用户信息接口,开放出来给互联网医院登录同步用户信息用
  139. iHealth:
  140. user-info-uri: http://ehr.yihu.com/wlyy/iHealth/userInfo
  141. zhongshanHospital:
  142. user-info-uri: http://laptop-u738dn2p:10023/mqsdk/getUserInfoByOpenid
  143. fastDFS:
  144. fastdfs_file_url: http://172.26.0.110:8888/
  145. wlyy:
  146. url: http://www.xmtyw.cn/wlyy/
  147. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  148. testPattern:
  149. sign: 0
  150. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  151. wechat:
  152. id: xm_ykyy_wx # base库中,wx_wechat 的id字段
  153. im:
  154. im_list_get: http://172.26.0.105:3000/
  155. kick:
  156. ##互踢 1开通 0关闭
  157. eachOther: 1
  158. ---
  159. spring:
  160. profiles: iottest
  161. datasource:
  162. url: jdbc:mysql://172.26.0.104/iot-base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  163. username: root
  164. password: jkzlehr
  165. redis:
  166. host: 172.26.0.253 # Redis server host.
  167. port: 6379 # Redis server port.
  168. ##发现服务
  169. ## i健康用户信息接口,开放出来给互联网医院登录同步用户信息用
  170. iHealth:
  171. user-info-uri: http://ehr.yihu.com/wlyy/iHealth/userInfo
  172. zhongshanHospital:
  173. user-info-uri: http://laptop-u738dn2p:10023/mqsdk/getUserInfoByOpenid
  174. fastDFS:
  175. fastdfs_file_url: http://172.26.0.110:8888/
  176. wlyy:
  177. url: http://www.xmtyw.cn/wlyy/
  178. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  179. testPattern:
  180. sign: 0
  181. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  182. wechat:
  183. id: xm_zsyy_wx # base库中,wx_wechat 的id字段
  184. im:
  185. im_list_get: http://172.26.0.105:3000/
  186. kick:
  187. ##互踢 1开通 0关闭
  188. eachOther: 1
  189. ---
  190. spring:
  191. profiles: iotyanshi
  192. datasource:
  193. url: jdbc:mysql://172.26.0.195/iot-base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  194. username: root
  195. password: jkzlehr
  196. redis:
  197. host: 172.26.0.190 # Redis server host.
  198. port: 6379 # Redis server port.
  199. ##发现服务
  200. ## i健康用户信息接口,开放出来给互联网医院登录同步用户信息用
  201. iHealth:
  202. user-info-uri: http://ehr.yihu.com/wlyy/iHealth/userInfo
  203. zhongshanHospital:
  204. user-info-uri: http://laptop-u738dn2p:10023/mqsdk/getUserInfoByOpenid
  205. fastDFS:
  206. fastdfs_file_url: http://172.26.0.110:8888/
  207. wlyy:
  208. url: http://www.xmtyw.cn/wlyy/
  209. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  210. testPattern:
  211. sign: 0
  212. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  213. wechat:
  214. id: xm_zsyy_wx # base库中,wx_wechat 的id字段
  215. im:
  216. im_list_get: http://172.26.0.105:3000/
  217. kick:
  218. ##互踢 1开通 0关闭
  219. eachOther: 1
  220. ---
  221. spring:
  222. profiles: jwprod
  223. datasource:
  224. url: jdbc:mysql://172.16.1.42/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  225. username: im
  226. password: 2oEq3Kf7
  227. redis:
  228. host: 192.0.33.26 # Redis server host.
  229. port: 6390 # Redis server port.
  230. password: Kb6wKDQP1W4
  231. ##发现服务
  232. iHealth:
  233. user-info-uri: http://www.xmtyw.cn/wlyy/iHealth/userInfo
  234. zhongshanHospital:
  235. user-info-uri: http://laptop-u738dn2p:10023/mqsdk/getUserInfoByOpenid
  236. fastDFS:
  237. fastdfs_file_url: http://192.0.33.26:22122
  238. wlyy:
  239. url: http://www.xmtyw.cn/wlyy/
  240. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  241. testPattern:
  242. sign: 0
  243. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  244. wechat:
  245. id: xm_zsyy_wx # base库中,wx_wechat 的id字段
  246. im:
  247. im_list_get: http://172.26.0.105:3000/
  248. kick:
  249. ##互踢 1开通 0关闭
  250. eachOther: 1
  251. ---
  252. ## 心脏中心外网
  253. spring:
  254. profiles: xzprod
  255. datasource:
  256. url: jdbc:mysql://172.16.100.240:7306/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  257. username: jzkl
  258. password: jzkl@2020
  259. redis:
  260. host: 172.16.100.240 # Redis server host.
  261. port: 6380 # Redis server port.
  262. password: q4YaQemf
  263. ##发现服务
  264. iHealth:
  265. user-info-uri: http://www.xmtyw.cn/wlyy/iHealth/userInfo
  266. zhongshanHospital:
  267. user-info-uri: http://laptop-u738dn2p:10023/mqsdk/getUserInfoByOpenid
  268. fastDFS:
  269. fastdfs_file_url: http://172.16.100.240:22122
  270. wlyy:
  271. url: http://www.xmtyw.cn/wlyy/
  272. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  273. testPattern:
  274. sign: 2
  275. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  276. wechat:
  277. id: xm_xzzx_wx # base库中,wx_wechat 的id字段
  278. im:
  279. im_list_get: http://172.26.0.105:3000/
  280. kick:
  281. ##互踢 1开通 0关闭
  282. eachOther: 1
  283. ---
  284. ## 卫计委
  285. spring:
  286. profiles: xmjwprod
  287. datasource:
  288. url: jdbc:mysql://59.61.92.90:9409/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  289. username: wlyy
  290. password: qY#j2n5O
  291. redis:
  292. host: 59.61.92.90 # Redis server host.
  293. port: 9206 # Redis server port.
  294. password: jkzlehr
  295. ##发现服务
  296. iHealth:
  297. user-info-uri: http://www.xmtyw.cn/wlyy/iHealth/userInfo
  298. zhongshanHospital:
  299. user-info-uri: http://laptop-u738dn2p:10023/mqsdk/getUserInfoByOpenid
  300. fastDFS:
  301. fastdfs_file_url: http://192.168.103.159:22122
  302. wlyy:
  303. url: http://www.xmtyw.cn/wlyy/
  304. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  305. testPattern:
  306. sign: 1
  307. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  308. wechat:
  309. id: xm_ihealth_wx # base库中,wx_wechat 的id字段
  310. im:
  311. im_list_get: http://172.26.0.105:3000/
  312. kick:
  313. ##互踢 1开通 0关闭
  314. eachOther: 1
  315. ---
  316. spring:
  317. profiles: iotprod
  318. datasource:
  319. url: jdbc:mysql://59.61.92.90:20002/iot-base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  320. username: wlyy_new
  321. password: J4&y9sk#1G
  322. redis:
  323. host: 59.61.92.90 # Redis server host.
  324. port: 9054 # Redis server port.
  325. password: jkzlehr
  326. ##发现服务
  327. ## i健康用户信息接口,开放出来给互联网医院登录同步用户信息用
  328. iHealth:
  329. user-info-uri: http://ehr.yihu.com/wlyy/iHealth/userInfo
  330. fastDFS:
  331. fastdfs_file_url: http://172.26.0.110:8888/
  332. wlyy:
  333. url: http://www.xmtyw.cn/wlyy/
  334. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  335. testPattern:
  336. sign: 0
  337. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  338. wechat:
  339. id: xm_ykyy_wx # base库中,wx_wechat 的id字段
  340. im:
  341. im_list_get: http://172.26.0.105:3000/
  342. kick:
  343. ##互踢 1开通 0关闭
  344. eachOther: 1
  345. ---
  346. spring:
  347. profiles: jwystest
  348. datasource:
  349. url: jdbc:mysql://172.26.0.195/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  350. username: root
  351. password: jkzlehr
  352. redis:
  353. host: 172.26.0.190 # Redis server host.
  354. port: 6379 # Redis server port.
  355. ##发现服务
  356. ## i健康用户信息接口,开放出来给互联网医院登录同步用户信息用
  357. iHealth:
  358. user-info-uri: http://ehr.yihu.com/wlyy/iHealth/userInfo
  359. zhongshanHospital:
  360. user-info-uri: http://laptop-u738dn2p:10023/mqsdk/getUserInfoByOpenid
  361. fastDFS:
  362. fastdfs_file_url: http://172.26.0.110:8888/
  363. wlyy:
  364. url: http://www.xmtyw.cn/wlyy/
  365. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  366. testPattern:
  367. sign: 0
  368. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  369. wechat:
  370. id: xm_ykyy_wx # base库中,wx_wechat 的id字段
  371. im:
  372. im_list_get: http://172.26.0.105:3000/
  373. kick:
  374. ##互踢 1开通 0关闭
  375. eachOther: 1
  376. ---
  377. spring:
  378. profiles: tnJwprod
  379. datasource:
  380. url: jdbc:mysql://10.9.1.247:3306/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  381. username: wlyy
  382. password: qY#j2n5O
  383. redis:
  384. host: 10.9.1.247 # Redis server host.
  385. port: 6380 # Redis server port.
  386. password: Kb6wKDQP1W4
  387. ##发现服务
  388. iHealth:
  389. user-info-uri: http://www.xmtyw.cn/wlyy/iHealth/userInfo
  390. zhongshanHospital:
  391. user-info-uri: http://laptop-u738dn2p:10023/mqsdk/getUserInfoByOpenid
  392. fastDFS:
  393. fastdfs_file_url: http://10.9.1.247:22122
  394. wlyy:
  395. url: http://www.xmtyw.cn/wlyy/
  396. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  397. testPattern:
  398. sign: 0
  399. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  400. wechat:
  401. id: sd_tnzyy_wx # base库中,wx_wechat 的id字段
  402. im:
  403. im_list_get: http://172.26.0.105:3000/
  404. kick:
  405. ##互踢 1开通 0关闭
  406. eachOther: 1
  407. ---
  408. spring:
  409. profiles: hzprod
  410. datasource:
  411. url: jdbc:mysql://10.18.43.40:3306/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  412. username: wlyy
  413. password: '0XxS3W*!cRj'
  414. redis:
  415. host: 10.18.43.40 # Redis server host.
  416. port: 6379 # Redis server port.
  417. password: Kb6wKDQP1W4
  418. ##发现服务
  419. ## i健康用户信息接口,开放出来给互联网医院登录同步用户信息用
  420. iHealth:
  421. user-info-uri: 1
  422. zhongshanHospital:
  423. user-info-uri: 1
  424. fastDFS:
  425. fastdfs_file_url: http://10.18.43.40:8888/
  426. wlyy:
  427. url: 1
  428. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  429. testPattern:
  430. sign: 0
  431. remote_inner_url: 1
  432. wechat:
  433. id: hz_yyyzh_wx # base库中,wx_wechat 的id字段
  434. im:
  435. im_list_get: http://10.18.43.41:3000/
  436. kick:
  437. ##互踢 1开通 0关闭
  438. eachOther: 0
  439. ---
  440. spring:
  441. profiles: wjwProd
  442. datasource:
  443. url: jdbc:mysql://127.0.0.1:3306/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  444. username: wlyy
  445. password: 0XxS3W*!cRj
  446. redis:
  447. host: 127.0.0.1 # Redis server host.
  448. port: 6380 # Redis server port.
  449. password: Kb6wKDQP1W4
  450. iHealth:
  451. user-info-uri: http://www.xmtyw.cn/wlyy/iHealth/userInfo
  452. zhongshanHospital:
  453. user-info-uri: http://laptop-u738dn2p:10023/mqsdk/getUserInfoByOpenid
  454. fastDFS:
  455. fastdfs_file_url: http://127.0.0.1:22122
  456. wlyy:
  457. url: http://www.xmtyw.cn/wlyy/
  458. testPattern:
  459. sign: 0
  460. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  461. wechat:
  462. id: wjw
  463. im:
  464. im_list_get: http://172.26.0.105:3000/
  465. kick:
  466. ##互踢 1开通 0关闭
  467. eachOther: 1