svr-base.yml 13 KB

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