svr-internet-hospital.yml 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  1. #通用的配置不用区分环境变量
  2. server:
  3. port: ${server.svr-internet-hospital-port}
  4. spring:
  5. aop:
  6. proxy-target-class: true
  7. datasource:
  8. driver-class-name: com.mysql.jdbc.Driver
  9. max-active: 200
  10. max-idle: 200 #最大空闲连接
  11. min-idle: 10 #最小空闲连接
  12. validation-query-timeout: 20
  13. log-validation-errors: true
  14. validation-interval: 60000 #避免过度验证,保证验证不超过这个频率——以毫秒为单位。如果一个连接应该被验证,但上次验证未达到指定间隔,将不再次验证。
  15. validation-query: SELECT 1 #SQL 查询, 用来验证从连接池取出的连接, 在将连接返回给调用者之前。 如果指定, 则查询必须是一个SQL SELECT 并且必须返回至少一行记录
  16. test-on-borrow: true #指明是否在从池中取出连接前进行检验, 如果检验失败, 则从池中去除连接并尝试取出另一个。注意: 设置为true 后如果要生效,validationQuery 参数必须设置为非空字符串
  17. test-on-return: true #指明是否在归还到池中前进行检验 注意: 设置为true 后如果要生效validationQuery 参数必须设置为非空字符串
  18. idle-timeout: 30000
  19. connection-test-query: SELECT 1
  20. num-tests-per-eviction-run: 200 #在每次空闲连接回收器线程(如果有)运行时检查的连接数量,最好和maxActive
  21. test-while-idle: true #指明连接是否被空闲连接回收器(如果有)进行检验,如果检测失败,则连接将被从池中去除
  22. min-evictable-idle-time-millis: 3600000 #连接池中连接,在时间段内一直空闲,被逐出连接池的时间(1000*60*60),以毫秒为单位
  23. time-between-eviction-runs-millis: 300000 #在空闲连接回收器线程运行期间休眠的时间值,以毫秒为单位,一般比minEvictableIdleTimeMillis小
  24. http:
  25. multipart:
  26. max-file-size: 30MB
  27. # location: D:/work/soft_dev/IdeaWorkSpace/wlyy2.0/svr/svr-patient/temp_file/
  28. # resolve-lazily: true
  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. host: smtp.163.com
  48. #发送者的邮箱密码
  49. password: xmijk181016jkzl
  50. #发送者的邮箱账号
  51. username: i_jiankang@163.com
  52. es:
  53. index:
  54. servicePackLog: base_service_package_log
  55. type:
  56. servicePackLog: base_service_package_log
  57. fast-dfs:
  58. connect-timeout: 2 #链接超时时间
  59. network-timeout: 30
  60. charset: ISO8859-1 #编码
  61. http:
  62. tracker-http-port: 80
  63. anti-steal-token: no
  64. secret-key: FastDFS1234567890
  65. pool: #连接池大小
  66. init-size: 5
  67. max-size: 20
  68. wait-time: 500
  69. configDefault: # 默认配置
  70. saasId: xmjkzl_saasId
  71. express:
  72. sf_url: http://bsp-oisp.sf-express.com/bsp-oisp/sfexpressService
  73. sf_code: JKZL
  74. sf_check_word: QkeIfIvQdheqIv2cVSgAUnBU29lfNbVk
  75. ---
  76. spring:
  77. profiles: jwdev
  78. datasource:
  79. # url: jdbc:mysql://172.17.110.160/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
  80. # username: ssgg
  81. # password: ssgg
  82. url: jdbc:mysql://172.26.0.114/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  83. username: root
  84. password: jkzlehr
  85. elasticsearch:
  86. cluster-name: jkzl #集群名 默认elasticsearch
  87. cluster-nodes: 172.26.0.115:9300,172.26.0.115:9300 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
  88. client-transport-sniff: false
  89. jest:
  90. uris: http://172.26.0.112:9200,http://172.26.0.112:9200
  91. connection-timeout: 60000 # Connection timeout in milliseconds.
  92. multi-threaded: true # Enable connection requests from multiple execution threads.
  93. activemq:
  94. broker-url: tcp://172.26.0.116:61616
  95. user: admin
  96. password: admin
  97. redis:
  98. host: 172.26.0.253 # Redis server host.
  99. port: 6379 # Redis server port.
  100. # password: jkzl_ehr
  101. # zipkin:
  102. # base-url: http://localhost:9411 #日志追踪的地址
  103. fastDFS:
  104. fastdfs_file_url: http://172.26.0.110:8888/
  105. fast-dfs:
  106. tracker-server: 172.26.0.110:22122 #服务器地址
  107. # 短信发送地址
  108. jw:
  109. smsUrl: http://svr-base:10020/sms_gateway/send
  110. myFamily:
  111. qrCodeFailurTime: 2
  112. wechat:
  113. id: d24d1367-7f4f-43af-910e-a0a43799e040 # base库中,wx_wechat 的id字段
  114. # 短信验证码发送的客户端标识,居民端
  115. sms:
  116. clientId: EwC0iRSrcP
  117. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  118. demo:
  119. flag: true
  120. hospital:
  121. url: https://wx.xmzsh.com
  122. mqUser: JKZL
  123. mqPwd: 123456
  124. SourceSysCode: S60
  125. TargetSysCode: S01
  126. im:
  127. im_list_get: http://172.26.0.105:3000/
  128. data_base_name: im_internet_hospital
  129. # 上传文件临时路径配置
  130. FileTempPath:
  131. upload_temp_path : /var/local/temp
  132. image_path : /var/local/upload/images
  133. voice_path : /var/local/upload/voice
  134. chat_file_path : /var/local/upload/chat
  135. ---
  136. spring:
  137. profiles: jwtest
  138. datasource:
  139. url: jdbc:mysql://172.26.0.104/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  140. username: ssgg
  141. password: ssgg@jkzl2019
  142. # url: jdbc:mysql://172.19.103.77/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
  143. # username: root
  144. # password: 123456
  145. elasticsearch:
  146. cluster-name: jkzl #集群名 默认elasticsearch
  147. cluster-nodes: 172.26.0.115:9300,172.26.0.115:9300 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
  148. client-transport-sniff: false
  149. jest:
  150. uris: http://172.26.0.112:9200,http://172.26.0.112:9200
  151. connection-timeout: 60000 # Connection timeout in milliseconds.
  152. multi-threaded: true # Enable connection requests from multiple execution threads.
  153. activemq:
  154. broker-url: tcp://172.26.0.116:61616
  155. user: admin
  156. password: admin
  157. redis:
  158. host: 172.26.0.253 # Redis server host.
  159. port: 6379 # Redis server port.
  160. fastDFS:
  161. fastdfs_file_url: http://172.26.0.110:8888/
  162. fast-dfs:
  163. tracker-server: 172.26.0.110:22122 #服务器地址
  164. wechat:
  165. id: 97ed8a0a-4f07-4b85-ab02-b716c611a464 # base库中,wx_wechat 的id字段
  166. # 短信验证码发送的客户端标识,居民端
  167. sms:
  168. clientId: EwC0iRSrcP
  169. myFamily:
  170. qrCodeFailurTime: 2
  171. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  172. demo:
  173. flag: true
  174. hospital:
  175. url: https://wx.xmzsh.com
  176. mqUser: JKZL
  177. mqPwd: 123456
  178. SourceSysCode: S60
  179. TargetSysCode: S01
  180. im:
  181. im_list_get: http://172.26.0.105:3000/
  182. data_base_name: im_internet_hospital
  183. # 上传文件临时路径配置
  184. FileTempPath:
  185. upload_temp_path : /var/local/temp
  186. image_path : /var/local/upload/images
  187. voice_path : /var/local/upload/voice
  188. chat_file_path : /var/local/upload/chat
  189. ---
  190. spring:
  191. profiles: jwprod
  192. datasource:
  193. url: jdbc:mysql://172.16.1.42:3306/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true&useSSL=false
  194. username: im
  195. password: 2oEq3Kf7
  196. elasticsearch:
  197. cluster-name: jkzl #集群名 默认elasticsearch
  198. cluster-nodes: 192.0.33.26:9200 #配置es节点信息,逗号分隔,如果没有指定,则启动ClientNode
  199. client-transport-sniff: false
  200. jest:
  201. uris: http://192.0.33.26:9300
  202. connection-timeout: 60000 # Connection timeout in milliseconds.
  203. multi-threaded: true # Enable connection requests from multiple execution threads.
  204. activemq:
  205. broker-url: tcp://59.61.92.90:9103
  206. user: jkzl
  207. password: jkzlehr
  208. redis:
  209. host: 192.0.33.26 # Redis server host.
  210. port: 6390 # Redis server port.
  211. password: Kb6wKDQP1W4
  212. fastDFS:
  213. fastdfs_file_url: http://192.0.33.26:8888/
  214. fast-dfs:
  215. tracker-server: 192.0.33.26:22122 #服务器地址
  216. wechat:
  217. id: d24d1367-7f4f-43af-910e-a0a43799e040 # base库中,wx_wechat 的id字段 # todo 待配置
  218. # 短信验证码发送的客户端标识,居民端
  219. sms:
  220. clientId: EwC0iRSrcP #todo 待配置
  221. myFamily:
  222. qrCodeFailurTime: 2
  223. # mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
  224. demo:
  225. flag: false
  226. hospital:
  227. url: https://wx.xmzsh.com
  228. mqUser: JKZL
  229. mqPwd: 123456
  230. SourceSysCode: S60
  231. TargetSysCode: S01
  232. im:
  233. im_list_get: http://172.16.1.42:3000/
  234. data_base_name: im
  235. # 上传文件临时路径配置
  236. FileTempPath:
  237. upload_temp_path : /var/local/temp
  238. image_path : /var/local/upload/images
  239. voice_path : /var/local/upload/voice
  240. chat_file_path : /var/local/upload/chat