application.yml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476
  1. #通用的配置不用区分环境变量.
  2. server:
  3. port: ${server.svr-base-port}
  4. express:
  5. sf_url: http://bsp-oisp.sf-express.com/bsp-oisp/sfexpressService
  6. sf_code: JKZL
  7. sf_check_word: QkeIfIvQdheqIv2cVSgAUnBU29lfNbVk
  8. spring:
  9. datasource:
  10. driver-class-name: com.mysql.jdbc.Driver
  11. max-active: 50
  12. max-idle: 50 #最大空闲连接
  13. min-idle: 10 #最小空闲连接
  14. validation-query-timeout: 20
  15. log-validation-errors: true
  16. validation-interval: 60000 #避免过度验证,保证验证不超过这个频率——以毫秒为单位。如果一个连接应该被验证,但上次验证未达到指定间隔,将不再次验证。
  17. validation-query: SELECT 1 #SQL 查询, 用来验证从连接池取出的连接, 在将连接返回给调用者之前。 如果指定, 则查询必须是一个SQL SELECT 并且必须返回至少一行记录
  18. test-on-borrow: true #指明是否在从池中取出连接前进行检验, 如果检验失败, 则从池中去除连接并尝试取出另一个。注意: 设置为true 后如果要生效,validationQuery 参数必须设置为非空字符串
  19. test-on-return: true #指明是否在归还到池中前进行检验 注意: 设置为true 后如果要生效validationQuery 参数必须设置为非空字符串
  20. idle-timeout: 30000
  21. connection-test-query: SELECT 1
  22. num-tests-per-eviction-run: 50 #在每次空闲连接回收器线程(如果有)运行时检查的连接数量,最好和maxActive
  23. test-while-idle: true #指明连接是否被空闲连接回收器(如果有)进行检验,如果检测失败,则连接将被从池中去除
  24. min-evictable-idle-time-millis: 3600000 #连接池中连接,在时间段内一直空闲,被逐出连接池的时间(1000*60*60),以毫秒为单位
  25. time-between-eviction-runs-millis: 300000 #在空闲连接回收器线程运行期间休眠的时间值,以毫秒为单位,一般比minEvictableIdleTimeMillis小
  26. # sleuth:
  27. # sampler:
  28. # percentage: 1.0 #采用需要的请求的百分比 默认是0.1 即 10%
  29. redis:
  30. database: 0 # Database index used by the connection factory.
  31. password: # Login password of the redis server.
  32. timeout: 120000 # 连接超时时间(毫秒) 60秒
  33. pool:
  34. max-active: 20 # 连接池最大连接数(使用负值表示没有限制)
  35. max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
  36. max-idle: 20 # 连接池中的最大空闲连接
  37. min-idle: 5 # 连接池中的最小空闲连接
  38. mail:
  39. default-encoding: UTF-8
  40. #端口
  41. port: 25
  42. #协议
  43. protocol: smtp
  44. properties.mail.smtp.auth: true
  45. properties.mail.smtp.starttls.enable: true
  46. properties.mail.smtp.starttls.required: true
  47. timeout: 1000
  48. host: smtp.163.com
  49. #发送者的邮箱密码
  50. password: xmijk181016jkzl
  51. #发送者的邮箱账号
  52. username: i_jiankang@163.com
  53. es:
  54. index:
  55. servicePackLog: base_service_package_log
  56. type:
  57. servicePackLog: base_service_package_log
  58. fast-dfs:
  59. tracker-server: 172.19.103.54:22122 #服务器地址
  60. connect-timeout: 2 #链接超时时间
  61. network-timeout: 30
  62. charset: ISO8859-1 #编码
  63. http:
  64. tracker-http-port: 80
  65. anti-steal-token: no
  66. secret-key: FastDFS1234567890
  67. pool: #连接池大小
  68. init-size: 5
  69. max-size: 20
  70. wait-time: 500
  71. configDefault: # 默认配置
  72. saasId: xmjkzl_saasId
  73. ---
  74. spring:
  75. profiles: jwdev
  76. datasource:
  77. # url: jdbc:mysql://172.17.110.160/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
  78. # username: ssgg
  79. # password: ssgg
  80. url: jdbc:mysql://172.19.103.77/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
  81. username: root
  82. password: 123456
  83. elasticsearch:
  84. cluster-name: jkzl #集群名 默认elasticsearch
  85. cluster-nodes: 172.19.103.45:9300,172.19.103.68:9300 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
  86. client-transport-sniff: false
  87. jest:
  88. uris: http://172.19.103.45:9200,http://172.19.103.68:9200
  89. connection-timeout: 60000 # Connection timeout in milliseconds.
  90. multi-threaded: true # Enable connection requests from multiple execution threads.
  91. activemq:
  92. broker-url: tcp://172.19.103.87:61616
  93. user: admin
  94. password: admin
  95. redis:
  96. host: 172.26.0.253 # Redis server host.
  97. port: 6379 # Redis server port.
  98. # password: jkzl_ehr
  99. # zipkin:
  100. # base-url: http://localhost:9411 #日志追踪的地址
  101. fastDFS:
  102. fastdfs_file_url: http://172.19.103.54:80/
  103. # 短信发送地址
  104. jw:
  105. smsUrl: http://svr-base:10020/sms_gateway/send
  106. demo:
  107. flag: true
  108. hospital:
  109. url: https://wx.xmzsh.com
  110. mqUser: JKZL
  111. mqPwd: 123456
  112. SourceSysCode: S60
  113. TargetSysCode: S01
  114. wlyy:
  115. url: http://ehr.yihu.com/wlyy/
  116. wechat:
  117. id: d24d1367-7f4f-43af-910e-a0a43799e040
  118. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  119. testPattern:
  120. sign: 0
  121. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  122. ---
  123. spring:
  124. profiles: jwtest
  125. datasource:
  126. url: jdbc:mysql://172.26.0.104/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
  127. username: ssgg
  128. password: ssgg@jkzl2019
  129. # url: jdbc:mysql://172.19.103.77/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
  130. # username: root
  131. # password: 123456
  132. elasticsearch:
  133. cluster-name: jkzl #集群名 默认elasticsearch
  134. cluster-nodes: 172.19.103.45:9300,172.19.103.68:9300 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
  135. client-transport-sniff: false
  136. jest:
  137. uris: http://172.19.103.45:9200,http://172.19.103.68:9200
  138. connection-timeout: 60000 # Connection timeout in milliseconds.
  139. multi-threaded: true # Enable connection requests from multiple execution threads.
  140. activemq:
  141. broker-url: tcp://172.19.103.87:61616
  142. user: admin
  143. password: admin
  144. redis:
  145. host: 172.26.0.253 # Redis server host.
  146. port: 6379 # Redis server port.
  147. fastDFS:
  148. fastdfs_file_url: http://172.19.103.54:80/
  149. demo:
  150. flag: true
  151. hospital:
  152. url: https://wx.xmzsh.com
  153. mqUser: JKZL
  154. mqPwd: 123456
  155. SourceSysCode: S60
  156. TargetSysCode: S01
  157. wlyy:
  158. url: http://ehr.yihu.com/wlyy/
  159. wechat:
  160. id: d24d1367-7f4f-43af-910e-a0a43799e040
  161. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  162. testPattern:
  163. sign: 0
  164. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  165. ---
  166. spring:
  167. profiles: iottest
  168. datasource:
  169. url: jdbc:mysql://172.26.0.104/iot-base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
  170. username: ssgg
  171. password: ssgg@jkzl2019
  172. # url: jdbc:mysql://172.19.103.77/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
  173. # username: root
  174. # password: 123456
  175. elasticsearch:
  176. cluster-name: jkzl #集群名 默认elasticsearch
  177. cluster-nodes: 172.19.103.45:9300,172.19.103.68:9300 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
  178. client-transport-sniff: false
  179. jest:
  180. uris: http://172.19.103.45:9200,http://172.19.103.68:9200
  181. connection-timeout: 60000 # Connection timeout in milliseconds.
  182. multi-threaded: true # Enable connection requests from multiple execution threads.
  183. activemq:
  184. broker-url: tcp://172.19.103.87:61616
  185. user: admin
  186. password: admin
  187. redis:
  188. host: 172.26.0.253 # Redis server host.
  189. port: 6379 # Redis server port.
  190. fastDFS:
  191. fastdfs_file_url: http://172.19.103.54:80/
  192. demo:
  193. flag: true
  194. hospital:
  195. url: https://wx.xmzsh.com
  196. mqUser: JKZL
  197. mqPwd: 123456
  198. SourceSysCode: S60
  199. TargetSysCode: S01
  200. wlyy:
  201. url: http://ehr.yihu.com/wlyy/
  202. wechat:
  203. id: d24d1367-7f4f-43af-910e-a0a43799e040
  204. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  205. testPattern:
  206. sign: 0
  207. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  208. ---
  209. spring:
  210. profiles: jwprod
  211. datasource:
  212. url: jdbc:mysql://192.0.33.27:3306/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
  213. username: im
  214. password: 2oEq3Kf7
  215. elasticsearch:
  216. cluster-name: jkzl #集群名 默认elasticsearch
  217. cluster-nodes: 192.0.33.26:9200 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
  218. client-transport-sniff: false
  219. jest:
  220. uris: http://192.0.33.26:9300
  221. connection-timeout: 60000 # Connection timeout in milliseconds.
  222. multi-threaded: true # Enable connection requests from multiple execution threads.
  223. activemq:
  224. broker-url: tcp://59.61.92.90:9103
  225. user: jkzl
  226. password: jkzlehr
  227. redis:
  228. host: 192.0.33.26 # Redis server host.
  229. port: 6390 # Redis server port.
  230. password: Kb6wKDQP1W4
  231. fastDFS:
  232. fastdfs_file_url: http://192.0.33.26:8888/
  233. demo:
  234. flag: true
  235. hospital:
  236. url: https://wx.xmzsh.com
  237. mqUser: JKZL
  238. mqPwd: 123456
  239. SourceSysCode: S60
  240. TargetSysCode: S01
  241. wlyy:
  242. url: http://ehr.yihu.com/wlyy/
  243. wechat:
  244. id: d24d1367-7f4f-43af-910e-a0a43799e040
  245. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  246. testPattern:
  247. sign: 0
  248. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  249. ---
  250. spring:
  251. profiles: jwOracleTest
  252. datasource:
  253. driver-class-name: oracle.jdbc.driver.OracleDriver
  254. url: jdbc:oracle:thin:@172.26.0.141:1521:helowin
  255. username: normal
  256. password: normal
  257. jpa:
  258. properties:
  259. hibernate:
  260. dialect: org.hibernate.dialect.Oracle10gDialect
  261. show_sql: true
  262. database: oracle
  263. elasticsearch:
  264. cluster-name: jkzl #集群名 默认elasticsearch
  265. cluster-nodes: 172.19.103.45:9300,172.19.103.68:9300 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
  266. client-transport-sniff: false
  267. jest:
  268. uris: http://172.19.103.45:9200,http://172.19.103.68:9200
  269. connection-timeout: 60000 # Connection timeout in milliseconds.
  270. multi-threaded: true # Enable connection requests from multiple execution threads.
  271. activemq:
  272. broker-url: tcp://172.19.103.87:61616
  273. user: admin
  274. password: admin
  275. redis:
  276. host: 172.26.0.253 # Redis server host.
  277. port: 6379 # Redis server port.
  278. fastDFS:
  279. fastdfs_file_url: http://172.19.103.54:80/
  280. demo:
  281. flag: true
  282. hospital:
  283. url: https://wx.xmzsh.com
  284. mqUser: JKZL
  285. mqPwd: 123456
  286. SourceSysCode: S60
  287. TargetSysCode: S01
  288. wlyy:
  289. url: http://ehr.yihu.com/wlyy/
  290. wechat:
  291. # id: xm_ykyy_wx
  292. id: d24d1367-7f4f-43af-910e-a0a43799e040
  293. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  294. testPattern:
  295. sign: 0
  296. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  297. ---
  298. spring:
  299. profiles: jwOracleProd
  300. datasource:
  301. driver-class-name: oracle.jdbc.driver.OracleDriver
  302. url: jdbc:oracle:thin:@10.10.10.16:1521/rac
  303. username: HLWYY
  304. password: Xmykzxhlwyy963
  305. jpa:
  306. properties:
  307. hibernate:
  308. dialect: org.hibernate.dialect.Oracle10gDialect
  309. show_sql: true
  310. database: oracle
  311. elasticsearch:
  312. cluster-name: jkzl #集群名 默认elasticsearch
  313. cluster-nodes: 192.168.33.198:9300,192.168.33.198:9300 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
  314. client-transport-sniff: false
  315. jest:
  316. uris: http://172.19.103.45:9200,http://172.19.103.68:9200
  317. connection-timeout: 60000 # Connection timeout in milliseconds.
  318. multi-threaded: true # Enable connection requests from multiple execution threads.
  319. activemq:
  320. broker-url: tcp://172.19.103.87:61616
  321. user: admin
  322. password: admin
  323. redis:
  324. host: 192.168.33.198 # Redis server host.
  325. port: 6380 # Redis server port.
  326. fastDFS:
  327. fastdfs_file_url: http://172.26.0.110:8888/
  328. demo:
  329. flag: true
  330. hospital:
  331. url: https://wx.xmzsh.com
  332. mqUser: JKZL
  333. mqPwd: 123456
  334. SourceSysCode: S60
  335. TargetSysCode: S01
  336. wlyy:
  337. url: http://www.xmtyw.cn/wlyy/
  338. wechat:
  339. id: xm_ykyy_wx
  340. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  341. testPattern:
  342. sign: 0
  343. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  344. ---
  345. spring:
  346. profiles: iotprod
  347. datasource:
  348. url: jdbc:mysql://10.90.32.2:20002/iot-base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
  349. username: wlyy
  350. password: jkzlehr@123
  351. # url: jdbc:mysql://172.19.103.77/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
  352. # username: root
  353. # password: 123456
  354. elasticsearch:
  355. cluster-name: jkzl #集群名 默认elasticsearch
  356. cluster-nodes: 10.90.32.2:20010,10.90.32.2:20012 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
  357. client-transport-sniff: false
  358. jest:
  359. uris: http://10.90.32.2:20009,http://10.90.32.2:20011
  360. connection-timeout: 60000 # Connection timeout in milliseconds.
  361. multi-threaded: true # Enable connection requests from multiple execution threads.
  362. activemq:
  363. broker-url: tcp://172.19.103.87:61616
  364. user: admin
  365. password: admin
  366. redis:
  367. host: 10.90.32.2 # Redis server host.
  368. port: 20008 # Redis server port.
  369. password: jkzlehr
  370. fastDFS:
  371. fastdfs_file_url: http://172.19.103.54:80/
  372. demo:
  373. flag: true
  374. hospital:
  375. url: https://wx.xmzsh.com
  376. mqUser: JKZL
  377. mqPwd: 123456
  378. SourceSysCode: S60
  379. TargetSysCode: S01
  380. wlyy:
  381. url: http://ehr.yihu.com/wlyy/
  382. wechat:
  383. id: d24d1367-7f4f-43af-910e-a0a43799e040
  384. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  385. testPattern:
  386. sign: 1
  387. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream
  388. ---
  389. ##==心脏中心外 ===============================================================================
  390. spring:
  391. profiles: xzprod
  392. datasource:
  393. driver-class-name: com.mysql.jdbc.Driver
  394. url: jdbc:mysql://172.16.100.240:7306/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  395. username: jkzl
  396. password: jkzl@2020
  397. elasticsearch:
  398. cluster-name: jkzl #集群名 默认elasticsearch
  399. cluster-nodes: 172.16.100.240:9200 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
  400. client-transport-sniff: false
  401. jest:
  402. uris: http://172.16.100.240:9300
  403. connection-timeout: 60000 # Connection timeout in milliseconds.
  404. multi-threaded: true # Enable connection requests from multiple execution threads.
  405. activemq:
  406. broker-url: tcp://59.61.92.90:9103
  407. user: jkzl
  408. password: jkzlehr
  409. redis:
  410. host: 172.16.100.240 # Redis server host.
  411. port: 6380 # Redis server port.
  412. password: q4YaQemf
  413. fastDFS:
  414. fastdfs_file_url: http://172.16.100.240:8888/
  415. fast-dfs:
  416. tracker-server: 172.16.100.240:22122 #服务器地址
  417. wechat:
  418. id: xm_xzzx_wx # base库中,wx_wechat 的id字段 # todo 待配置
  419. ---
  420. spring:
  421. profiles: jwystest
  422. datasource:
  423. url: jdbc:mysql://172.26.0.195/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
  424. username: root
  425. password: jkzlehr
  426. # url: jdbc:mysql://172.19.103.77/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
  427. # username: root
  428. # password: 123456
  429. elasticsearch:
  430. cluster-name: jkzl #集群名 默认elasticsearch
  431. cluster-nodes: 172.26.0.190:9300,172.26.0.190:9300 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
  432. client-transport-sniff: false
  433. jest:
  434. uris: http://172.26.0.190:9200,http://172.26.0.190:9200
  435. connection-timeout: 60000 # Connection timeout in milliseconds.
  436. multi-threaded: true # Enable connection requests from multiple execution threads.
  437. activemq:
  438. broker-url: tcp://172.19.103.87:61616
  439. user: admin
  440. password: admin
  441. redis:
  442. host: 172.26.0.190 # Redis server host.
  443. port: 6379 # Redis server port.
  444. fastDFS:
  445. fastdfs_file_url: http://172.26.0.110:8888/
  446. fast-dfs:
  447. tracker-server: 172.26.0.110:22122 #服务器地址
  448. demo:
  449. flag: true
  450. hospital:
  451. url: https://wx.xmzsh.com
  452. mqUser: JKZL
  453. mqPwd: 123456
  454. SourceSysCode: S60
  455. TargetSysCode: S01
  456. wlyy:
  457. url: http://ehr.yihu.com/wlyy/
  458. wechat:
  459. id: xm_zsyy_wx
  460. #文件服务器上传配置 0本地,1.I健康,2.内网调用
  461. testPattern:
  462. sign: 0
  463. remote_inner_url: 172.16.100.240:10023/open/fileUpload/upload_stream