application.yml 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  1. server:
  2. port: 10030
  3. info:
  4. app:
  5. name: SVR-BASIC
  6. description: EHR Platform Microservice.
  7. version: 1.0.0
  8. spring:
  9. cloud:
  10. loadbalancer:
  11. ribbon:
  12. enabled: false
  13. data:
  14. redis:
  15. repositories:
  16. enabled: false
  17. datasource:
  18. driver-class-name: com.mysql.cj.jdbc.Driver
  19. hikari:
  20. maximum-pool-size: 200
  21. minimum-idle: 10
  22. connection-timeout: 60000 #连接超时时间(毫秒),默认值30秒.
  23. connection-test-query: SELECT 1
  24. idle-timeout: 60000 #连接超时时间(毫秒),默认值30秒.
  25. max-lifetime: 3000000 #连接最大存活时间,默认值30分钟.设置应该比mysql设置的超时时间短
  26. redis:
  27. database: 0 # Database index used by the connection factory.
  28. timeout: 0 # Connection timeout in milliseconds.
  29. #sentinel:
  30. # master: # Name of Redis server.
  31. # nodes: # Comma-separated list of host:port pairs.
  32. jedis:
  33. pool:
  34. 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.
  35. max-idle: 8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
  36. 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.
  37. min-idle: 1 # Target for the minimum number of idle connections to maintain in the pool. This setting only has an effect if it is positive.
  38. jackson:
  39. serialization:
  40. fail-on-empty-beans: false
  41. fast-dfs:
  42. connect-timeout: 10
  43. network-timeout: 60
  44. charset: ISO8859-1
  45. pool:
  46. init-size: 1
  47. max-size: 20
  48. wait-time: 500
  49. http:
  50. tracker-http-port: 80
  51. anti-steal-token: no
  52. secret-key: FastDFS1234567890
  53. eip:
  54. tenant: jkzl
  55. #健康上饶app-卫计委机构编码--用于居民注册设置默认权限
  56. jksr-app:
  57. orgcode: PDY026797
  58. registerRoleClientId: WYo0l73F8e,HPnz4GXfYA #用于创建这些应用的默认角色(健康上饶app,公众健康服务)
  59. hadoop:
  60. hbase-properties:
  61. hbase.zookeeper.property.clientPort: 2181
  62. zookeeper.znode.parent: /hbase-unsecure
  63. user:
  64. name: root
  65. # 上传文件临时路径配置
  66. FileTempPath:
  67. upload_temp_path : /var/local/temp
  68. image_path : /var/local/upload/images
  69. voice_path : /var/local/upload/voice
  70. chat_file_path : /var/local/upload/chat
  71. default:
  72. password: 123456
  73. eureka:
  74. client:
  75. healthcheck:
  76. enabled: false
  77. serviceUrl:
  78. defaultZone: http://jw:jkzl@172.26.0.153:8761/eureka/
  79. instance:
  80. prefer-ip-address: false
  81. instance-id: ${spring.cloud.client.ip-address}:10030
  82. ---
  83. spring:
  84. profiles: dev
  85. datasource:
  86. url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  87. username: chenweishan
  88. password: chenweishan
  89. # -- unknown use --
  90. ldap:
  91. host: 172.19.103.87
  92. port: 389
  93. bindDn: cn=admin,dc=ehr,dc=jkzl
  94. password: jkzl
  95. root: dc=ehr,dc=jkzl
  96. # -- unknown use --
  97. redis:
  98. host: 172.19.103.47 # Redis server host.
  99. port: 6379
  100. password: redis!@456
  101. data:
  102. mongodb:
  103. host: 192.168.1.220
  104. port: 27017
  105. username: admin
  106. password: admin
  107. authenticationDatabase: admin
  108. database: ehr
  109. solr:
  110. zk-host: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com:2181/solr
  111. elasticsearch:
  112. jest:
  113. uris: http://172.19.103.68:9200
  114. fast-dfs:
  115. tracker-server: 172.19.103.13:22122
  116. public-server: http://172.19.103.52:80
  117. es:
  118. index: wlyy_quota_test
  119. type: wlyy_quota_test
  120. host: http://172.19.103.68:9200
  121. tHost: 172.19.103.68:9300
  122. clusterName: jkzl
  123. h5:
  124. secret: KU5XTORDKZI3O86YAT3ABCNJW2XTL1DJYF3GKU3ICXL
  125. appId: 9000401
  126. clientId: WYo0l73F8e
  127. #福州总部网关参数配置
  128. fz-gateway:
  129. url: http://172.19.103.73:10001/fzGateway/WSGW/rest
  130. clientId: 9000401
  131. clientVersion: 1.0
  132. secret: KU5XTORDKZI3O86YAT3ABCNJW2XTL1DJYF3GKU3ICXL
  133. handlerId: 50871
  134. hadoop:
  135. hbase-properties:
  136. hbase.zookeeper.quorum: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com
  137. ---
  138. spring:
  139. profiles: mlwTest
  140. datasource:
  141. url: jdbc:mysql://172.26.0.114:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8&useSSL=false
  142. username: root
  143. password: 4D^tK%!4
  144. #hibernate 配置
  145. hibernate:
  146. dialect: org.hibernate.dialect.MySQL5Dialect
  147. show_sql: true
  148. ejb:
  149. naming_strategy: org.hibernate.cfg.ImprovedNamingStrategy
  150. physical_naming_strategy: org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy
  151. implicit_naming_strategy: org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy
  152. # -- unknown use --
  153. ldap:
  154. host: 172.19.103.87
  155. port: 389
  156. bindDn: cn=admin,dc=ehr,dc=jkzl
  157. password: jkzl
  158. root: dc=ehr,dc=jkzl
  159. # -- unknown use --
  160. redis:
  161. host: 172.26.0.253 # Redis server host.
  162. port: 6390
  163. password: Kb6wKDQP1W4
  164. data:
  165. mongodb:
  166. host: 192.168.1.220
  167. port: 27017
  168. username: admin
  169. password: admin
  170. authenticationDatabase: admin
  171. database: ehr
  172. solr:
  173. zk-host: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com:2181/solr
  174. elasticsearch:
  175. jest:
  176. uris: http://172.19.103.68:9200
  177. fastDFS:
  178. fastdfs_file_url: http://127.0.0.1:8888/
  179. fast-dfs:
  180. tracker-server: 172.26.0.200:22122
  181. public-server: http://172.26.0.200:80
  182. elasticsearch:
  183. cluster-name: jkzl
  184. cluster-nodes: 172.26.0.112:9300
  185. deploy:
  186. region: 3502
  187. es:
  188. pwflag: 1 # 1需要密码,2不需要密码
  189. index:
  190. Statistics: hlw_quota_test
  191. type:
  192. Statistics: hlw_quota_test
  193. host: http://172.26.0.112:9200
  194. tHost: 172.26.0.112:9300
  195. clusterName: jkzl
  196. securityUser: jkzl:jkzlehr
  197. user: jkzl
  198. password: jkzlehr
  199. wechat:
  200. id: xm_mlw_wx # base库中,wx_wechat 的id字段
  201. flag: false #演示环境 true走Mysql数据库 false走Oracle
  202. url: http://172.16.100.37:8090/hospitalPortal-sms/sms/sendMessage
  203. wlyy:
  204. url: http://
  205. demo:
  206. flag: true
  207. #支付支付
  208. pay:
  209. flag: true
  210. hospital:
  211. url: https://wx.xmzsh.com
  212. mqUser: JKZL
  213. mqPwd: 123456
  214. SourceSysCode: S60
  215. TargetSysCode: S01
  216. express:
  217. sf_url: https://mr
  218. sf_code: JKZL
  219. sf_check_word: Qke
  220. im:
  221. im_list_get: http://172.26.0.105:3000/
  222. data_base_name: im_internet_hospital
  223. #消息队列
  224. activemq:
  225. username: admin
  226. password: admin
  227. url: tcp://172.26.0.116:61616
  228. url:
  229. svr_quota: http://172.26.0.153:10031
  230. ---
  231. spring:
  232. profiles: native
  233. datasource:
  234. url: jdbc:mysql://59.61.92.90:8079/query-base?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  235. username: xilari
  236. password: '&}H89@a7&AspSq@'
  237. #hibernate 配置
  238. hibernate:
  239. dialect: org.hibernate.dialect.MySQL5Dialect
  240. show_sql: true
  241. ejb:
  242. naming_strategy: org.hibernate.cfg.ImprovedNamingStrategy
  243. physical_naming_strategy: org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy
  244. implicit_naming_strategy: org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy
  245. # -- unknown use --
  246. ldap:
  247. host: 172.19.103.87
  248. port: 389
  249. bindDn: cn=admin,dc=ehr,dc=jkzl
  250. password: jkzl
  251. root: dc=ehr,dc=jkzl
  252. # -- unknown use --
  253. redis:
  254. host: 59.61.92.90
  255. port: 9054
  256. password: o!a1#B74&m
  257. data:
  258. mongodb:
  259. host: 192.168.1.220
  260. port: 27017
  261. username: admin
  262. password: admin
  263. authenticationDatabase: admin
  264. database: ehr
  265. solr:
  266. zk-host: node1.hde.h3c.com,node2.hde.h3c.com,node3.hde.h3c.com:2181/solr
  267. elasticsearch:
  268. jest:
  269. uris: http://172.19.103.68:9200
  270. fastDFS:
  271. fastdfs_file_url: http://127.0.0.1:8888/
  272. fast-dfs:
  273. tracker-server: 172.26.0.200:22122
  274. public-server: http://172.26.0.200:80
  275. elasticsearch:
  276. cluster-name: jkzl
  277. cluster-nodes: 172.26.0.112:9300
  278. deploy:
  279. region: 3502
  280. es:
  281. pwflag: 1 # 1需要密码,2不需要密码
  282. index:
  283. Statistics: hlw_quota_test
  284. type:
  285. Statistics: hlw_quota_test
  286. host: http://172.26.0.112:9200
  287. tHost: 172.26.0.112:9300
  288. clusterName: jkzl
  289. securityUser: jkzl:jkzlehr
  290. user: jkzl
  291. password: jkzlehr
  292. wechat:
  293. id: xm_mlw_wx # base库中,wx_wechat 的id字段
  294. flag: false #演示环境 true走Mysql数据库 false走Oracle
  295. url: http://172.16.100.37:8090/hospitalPortal-sms/sms/sendMessage
  296. wlyy:
  297. url: http://
  298. demo:
  299. flag: true
  300. #支付支付
  301. pay:
  302. flag: true
  303. hospital:
  304. url: https://wx.xmzsh.com
  305. mqUser: JKZL
  306. mqPwd: 123456
  307. SourceSysCode: S60
  308. TargetSysCode: S01
  309. express:
  310. sf_url: https://mr
  311. sf_code: JKZL
  312. sf_check_word: Qke
  313. im:
  314. im_list_get: http://172.26.0.105:3000/
  315. data_base_name: im_internet_hospital
  316. #消息队列
  317. activemq:
  318. username: admin
  319. password: admin
  320. url: tcp://172.26.0.116:61616
  321. url:
  322. svr_quota: http://172.26.0.153:10031