application.yml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419
  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. es:
  127. index:
  128. Statistics: hlw_quota_test
  129. type:
  130. Statistics: hlw_quota_test
  131. host: http://172.26.0.112:9200
  132. tHost: 172.26.0.112:9300
  133. clusterName: jkzl
  134. securityUser: elastic:elastic
  135. # 上传文件临时路径配置
  136. FileTempPath:
  137. upload_temp_path : /var/local/temp
  138. image_path : /var/local/upload/images
  139. voice_path : /var/local/upload/voice
  140. chat_file_path : /var/local/upload/chat
  141. ---
  142. spring:
  143. profiles: jwtest
  144. datasource:
  145. driver-class-name: com.mysql.jdbc.Driver
  146. url: jdbc:mysql://172.26.0.104/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  147. username: ssgg
  148. password: ssgg@jkzl2019
  149. # elasticsearch:
  150. # cluster-name: jkzl #集群名 默认elasticsearch
  151. # cluster-nodes: 172.26.0.115:9300,172.26.0.115:9300 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
  152. # client-transport-sniff: false
  153. # jest:
  154. # uris: http://172.26.0.112:9200,http://172.26.0.112:9200
  155. # connection-timeout: 60000 # Connection timeout in milliseconds.
  156. # multi-threaded: true # Enable connection requests from multiple execution threads.
  157. activemq:
  158. broker-url: tcp://172.26.0.116:61616
  159. user: admin
  160. password: admin
  161. redis:
  162. host: 172.26.0.253 # Redis server host.
  163. port: 6379 # Redis server port.
  164. fastDFS:
  165. fastdfs_file_url: http://172.26.0.110:8888/
  166. fast-dfs:
  167. tracker-server: 172.26.0.110:22122 #服务器地址
  168. wechat:
  169. id: 97ed8a0a-4f07-4b85-ab02-b716c611a464 # base库中,wx_wechat 的id字段
  170. # 短信验证码发送的客户端标识,居民端
  171. sms:
  172. clientId: EwC0iRSrcP
  173. myFamily:
  174. qrCodeFailurTime: 2
  175. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  176. demo:
  177. flag: true
  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://172.26.0.105:3000/
  186. data_base_name: im_internet_hospital
  187. es:
  188. index:
  189. Statistics: hlw_quota_test
  190. type:
  191. Statistics: hlw_quota_test
  192. host: http://172.26.0.112:9200
  193. tHost: 172.26.0.112:9300
  194. clusterName: jkzl
  195. securityUser: elastic:changeme
  196. # 上传文件临时路径配置
  197. FileTempPath:
  198. upload_temp_path : /var/local/temp
  199. image_path : /var/local/upload/images
  200. voice_path : /var/local/upload/voice
  201. chat_file_path : /var/local/upload/chat
  202. ---
  203. spring:
  204. profiles: jwprod
  205. datasource:
  206. driver-class-name: com.mysql.jdbc.Driver
  207. url: jdbc:mysql://172.16.1.42:3306/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  208. username: im
  209. password: 2oEq3Kf7
  210. # elasticsearch:
  211. # cluster-name: jkzl #集群名 默认elasticsearch
  212. # cluster-nodes: 192.0.33.26:9200 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
  213. # client-transport-sniff: false
  214. # jest:
  215. # uris: http://192.0.33.26:9300
  216. # connection-timeout: 60000 # Connection timeout in milliseconds.
  217. # multi-threaded: true # Enable connection requests from multiple execution threads.
  218. activemq:
  219. broker-url: tcp://59.61.92.90:9103
  220. user: jkzl
  221. password: jkzlehr
  222. redis:
  223. host: 192.0.33.26 # Redis server host.
  224. port: 6390 # Redis server port.
  225. password: Kb6wKDQP1W4
  226. fastDFS:
  227. fastdfs_file_url: https://hlwyy.xmzsh.com/fastdfs/
  228. fast-dfs:
  229. tracker-server: 192.0.33.26:22122 #服务器地址
  230. wechat:
  231. id: d24d1367-7f4f-43af-910e-a0a43799e040 # base库中,wx_wechat 的id字段 # todo 待配置
  232. # 短信验证码发送的客户端标识,居民端
  233. sms:
  234. clientId: EwC0iRSrcP #todo 待配置
  235. myFamily:
  236. qrCodeFailurTime: 2
  237. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  238. demo:
  239. flag: true
  240. hospital:
  241. url: https://wx.xmzsh.com
  242. mqUser: JKZL
  243. mqPwd: 123456
  244. SourceSysCode: S60
  245. TargetSysCode: S01
  246. im:
  247. im_list_get: http://172.16.1.42:3000/
  248. data_base_name: im
  249. es:
  250. index:
  251. Statistics: hlw_quota_prod
  252. type:
  253. Statistics: hlw_quota_prod
  254. host: http://192.0.33.26:9200
  255. tHost: 192.0.33.26:9300
  256. clusterName: jkzl
  257. # 上传文件临时路径配置
  258. FileTempPath:
  259. upload_temp_path : /var/local/temp
  260. image_path : /var/local/upload/images
  261. voice_path : /var/local/upload/voice
  262. chat_file_path : /var/local/upload/chat
  263. ---
  264. spring:
  265. profiles: jwOracleTest
  266. datasource:
  267. driver-class-name: oracle.jdbc.driver.OracleDriver
  268. url: jdbc:oracle:thin:@172.26.0.141:1521:helowin
  269. username: normal
  270. password: normal
  271. jpa:
  272. properties:
  273. hibernate:
  274. dialect: org.hibernate.dialect.Oracle10gDialect
  275. show_sql: true
  276. database: oracle
  277. # url: jdbc:mysql://172.19.103.77/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
  278. # username: root
  279. # password: 123456
  280. # elasticsearch:
  281. # cluster-name: jkzl #集群名 默认elasticsearch
  282. # cluster-nodes: 172.26.0.115:9300,172.26.0.115:9300 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
  283. # client-transport-sniff: false
  284. # jest:
  285. # uris: http://172.26.0.112:9200,http://172.26.0.112:9200
  286. # connection-timeout: 60000 # Connection timeout in milliseconds.
  287. # multi-threaded: true # Enable connection requests from multiple execution threads.
  288. activemq:
  289. broker-url: tcp://172.26.0.116:61616
  290. user: admin
  291. password: admin
  292. redis:
  293. host: 172.26.0.253 # Redis server host.
  294. port: 6379 # Redis server port.
  295. fastDFS:
  296. fastdfs_file_url: http://172.26.0.110:8888/
  297. fast-dfs:
  298. tracker-server: 172.26.0.110:22122 #服务器地址
  299. wechat:
  300. id: 97ed8a0a-4f07-4b85-ab02-b716c611a464 # base库中,wx_wechat 的id字段
  301. # 短信验证码发送的客户端标识,居民端
  302. sms:
  303. clientId: EwC0iRSrcP
  304. myFamily:
  305. qrCodeFailurTime: 2
  306. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  307. demo:
  308. flag: true
  309. hospital:
  310. url: https://wx.xmzsh.com
  311. mqUser: JKZL
  312. mqPwd: 123456
  313. SourceSysCode: S60
  314. TargetSysCode: S01
  315. im:
  316. im_list_get: http://172.26.0.105:3000/
  317. data_base_name: im_internet_hospital
  318. # 上传文件临时路径配置
  319. FileTempPath:
  320. upload_temp_path : /var/local/temp
  321. image_path : /var/local/upload/images
  322. voice_path : /var/local/upload/voice
  323. chat_file_path : /var/local/upload/chat
  324. es:
  325. index:
  326. Statistics: hlw_quota_test
  327. type:
  328. Statistics: hlw_quota_test
  329. host: http://172.26.0.112:9200
  330. tHost: 172.26.0.112:9300
  331. clusterName: jkzl
  332. ---
  333. spring:
  334. profiles: jwOracleProd
  335. datasource:
  336. driver-class-name: oracle.jdbc.driver.OracleDriver
  337. url: jdbc:oracle:thin:@172.26.0.141:1521:helowin
  338. username: normal
  339. password: normal
  340. jpa:
  341. properties:
  342. hibernate:
  343. dialect: org.hibernate.dialect.Oracle10gDialect
  344. show_sql: true
  345. database: oracle
  346. # elasticsearch:
  347. # cluster-name: jkzl #集群名 默认elasticsearch
  348. # cluster-nodes: 172.26.0.115:9300,172.26.0.115:9300 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
  349. # client-transport-sniff: false
  350. # jest:
  351. # uris: http://172.26.0.112:9200,http://172.26.0.112:9200
  352. # connection-timeout: 60000 # Connection timeout in milliseconds.
  353. # multi-threaded: true # Enable connection requests from multiple execution threads.
  354. activemq:
  355. broker-url: tcp://172.26.0.116:61616
  356. user: admin
  357. password: admin
  358. redis:
  359. host: 172.26.0.253 # Redis server host.
  360. port: 6379 # Redis server port.
  361. fastDFS:
  362. fastdfs_file_url: http://172.26.0.110:8888/
  363. fast-dfs:
  364. tracker-server: 172.26.0.110:22122 #服务器地址
  365. wechat:
  366. id: 97ed8a0a-4f07-4b85-ab02-b716c611a464 # base库中,wx_wechat 的id字段
  367. # 短信验证码发送的客户端标识,居民端
  368. sms:
  369. clientId: EwC0iRSrcP
  370. myFamily:
  371. qrCodeFailurTime: 2
  372. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  373. demo:
  374. flag: true
  375. hospital:
  376. url: https://wx.xmzsh.com
  377. mqUser: JKZL
  378. mqPwd: 123456
  379. SourceSysCode: S60
  380. TargetSysCode: S01
  381. im:
  382. im_list_get: http://172.26.0.105:3000/
  383. data_base_name: im_internet_hospital
  384. # 上传文件临时路径配置
  385. FileTempPath:
  386. upload_temp_path : /var/local/temp
  387. image_path : /var/local/upload/images
  388. voice_path : /var/local/upload/voice
  389. chat_file_path : /var/local/upload/chat
  390. es:
  391. index:
  392. Statistics: hlw_quota_test
  393. type:
  394. Statistics: hlw_quota_test
  395. host: http://172.26.0.112:9200
  396. tHost: 172.26.0.112:9300
  397. clusterName: jkzl
  398. securityUser: elastic:elastic