svr-internet-hospital.yml 15 KB

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