svr-door-service.yml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373
  1. ##如果有配置服务的话,远程服务器和本地服务器配置不一致的情况下,优先远程的为主 git上 svr-base -> git application ->本地 appliction ->本地 bootstarp
  2. server:
  3. port: 10060
  4. spring:
  5. jmx:
  6. default-domain: jkzl_doorService
  7. datasource:
  8. driver-class-name: com.mysql.jdbc.Driver
  9. max-active: 50
  10. max-idle: 50 #最大空闲连接
  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: 50 #在每次空闲连接回收器线程(如果有)运行时检查的连接数量,最好和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. #hibernate 配置
  25. hibernate:
  26. dialect: org.hibernate.dialect.MySQL5Dialect
  27. show_sql: true
  28. ejb:
  29. naming_strategy: org.hibernate.cfg.ImprovedNamingStrategy
  30. physical_naming_strategy: org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy
  31. implicit_naming_strategy: org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy
  32. fast-dfs:
  33. tracker-server: 172.26.0.110:22122 #服务器地址
  34. connect-timeout: 2 #链接超时时间
  35. network-timeout: 30
  36. charset: ISO8859-1 #编码
  37. http:
  38. tracker-http-port: 80
  39. anti-steal-token: no
  40. secret-key: FastDFS1234567890
  41. pool: #连接池大小
  42. init-size: 5
  43. max-size: 20
  44. wait-time: 500
  45. basedb: #base数据基础数据数据源,用于跨库查询
  46. name: wlyy
  47. ---
  48. spring:
  49. profiles: jwdev
  50. datasource:
  51. url: jdbc:mysql://172.26.0.104:3306/base?useUnicode=true&characterEncoding=utf-8&autoReconnect=true
  52. username: root
  53. password: jkzlehr
  54. redis:
  55. host: 172.26.0.253 # Redis server host.
  56. port: 6379 # Redis server port.
  57. fastDFS:
  58. fastdfs_file_url: http://172.26.0.110:80/
  59. fast-dfs:
  60. tracker-server: 172.26.0.110:22122
  61. public-server: http://172.26.0.110:80/
  62. server:
  63. server_url: http://ehr.yihu.com/wlyy/
  64. neiwang:
  65. enable: true
  66. wlyy: http://172.26.0.110:22122/
  67. base:
  68. url: http://172.17.110.212:10020/
  69. hospitalUrl: http://172.26.0.107:10022/
  70. wechat:
  71. appId: wxd03f859efdf0873d
  72. appSecret: 2935b54b53a957d9516c920a544f2537
  73. wechat_token: 27eb3bb24f149a7760cf1bb154b08040
  74. wechat_base_url: http%3a%2f%2fweixin.xmtyw.cn%2fwlyy-dev
  75. accId: gh_ffd64560fb21
  76. id: sd_tnzyy_wx # base库中,wx_wechat 的id字段
  77. flag: false #演示环境 true走Mysql数据库 false走Oracle
  78. im:
  79. im_list_get: http://172.26.0.105:3000/
  80. data_base_name: im_internet_hospital
  81. es:
  82. pwflag: 1 # 1需要密码,2不需要密码
  83. index:
  84. Statistics: hlw_quota_test
  85. FollowUp: wlyy_followup
  86. type:
  87. Statistics: hlw_quota_test
  88. FollowUpContent: wlyy_followup_content
  89. host: http://172.26.0.55:9000
  90. tHost: 172.26.0.55:9300
  91. clusterName: jkzl
  92. securityUser: lion:jkzlehr
  93. user: lion
  94. password: jkzlehr
  95. wlyy:
  96. url: http://ehr.yihu.com/wlyy/
  97. hospital:
  98. url: https://wx.xmzsh.com
  99. mqUser: JKZL
  100. mqPwd: 123456
  101. SourceSysCode: S60
  102. TargetSysCode: S01
  103. demo:
  104. flag: false
  105. express:
  106. sf_url: https://mrds-admin.sf-express.com:443
  107. sf_code: WH000101
  108. sf_check_word: EDSAFWFAQWyjt8099
  109. pay:
  110. flag: true
  111. # 上传文件临时路径配置
  112. FileTempPath:
  113. upload_temp_path : /var/local/temp
  114. image_path : /var/local/upload/images
  115. voice_path : /var/local/upload/voice
  116. chat_file_path : /var/local/upload/chat
  117. # 系统配置
  118. systemSetting:
  119. isApplication: 0 # 是否需要资质申请 1需要 0 不需要
  120. ---
  121. spring:
  122. profiles: jwtest
  123. datasource:
  124. url: jdbc:mysql://172.26.0.104/base?useUnicode=true&characterEncoding=utf-8&autoReconnect=true
  125. username: ssgg
  126. password: ssgg@jkzl2019
  127. redis:
  128. host: 172.26.0.253 # Redis server host.
  129. port: 6379 # Redis server port.
  130. fastDFS:
  131. fastdfs_file_url: http://172.26.0.110:8888/
  132. fast-dfs:
  133. tracker-server: 172.26.0.110:22122
  134. public-server: http://172.26.0.110:8888/
  135. server:
  136. server_url: http://ehr.yihu.com/wlyy/
  137. neiwang:
  138. enable: true
  139. wlyy: http://172.26.0.110:22122/
  140. base:
  141. url: http://172.17.110.212:10020/
  142. hospitalUrl: http://172.26.0.107:10022/
  143. wechat:
  144. appId: wx1f129f7b51701428
  145. appSecret: 988f005d8309ed1795939e0f042431fb
  146. wechat_token: 27eb3bb24f149a7760cf1bb154b08040
  147. wechat_base_url: http%3a%2f%2fehr.yihu.com%2fwlyy
  148. accId: gh_ffd64560fb21
  149. id: sd_tnzyy_wx # base库中,wx_wechat 的id字段
  150. flag: false #演示环境 true走Mysql数据库 false走Oracle
  151. im:
  152. im_list_get: http://172.26.0.105:3000/
  153. data_base_name: im_internet_hospital
  154. es:
  155. pwflag: 1 # 1需要密码,2不需要密码
  156. index:
  157. Statistics: hlw_quota_test
  158. FollowUp: wlyy_followup
  159. type:
  160. Statistics: hlw_quota_test
  161. FollowUpContent: wlyy_followup_content
  162. host: http://172.26.0.55:9000
  163. tHost: 172.26.0.55:9300
  164. clusterName: jkzl
  165. securityUser: lion:jkzlehr
  166. user: lion
  167. password: jkzlehr
  168. wlyy:
  169. url: http://ehr.yihu.com/wlyy/
  170. hospital:
  171. url: https://wx.xmzsh.com
  172. mqUser: JKZL
  173. mqPwd: 123456
  174. SourceSysCode: S60
  175. TargetSysCode: S01
  176. demo:
  177. flag: false
  178. express:
  179. sf_url: https://mrds-admin.sf-express.com:443
  180. sf_code: WH000101
  181. sf_check_word: EDSAFWFAQWyjt8099
  182. pay:
  183. flag: true
  184. # 上传文件临时路径配置
  185. FileTempPath:
  186. upload_temp_path : /var/local/temp
  187. image_path : /var/local/upload/images
  188. voice_path : /var/local/upload/voice
  189. chat_file_path : /var/local/upload/chat
  190. # 系统配置
  191. systemSetting:
  192. isApplication: 0 # 是否需要资质申请 1需要 0 不需要
  193. ---
  194. spring:
  195. profiles: prod
  196. datasource:
  197. url: jdbc:mysql://59.61.92.90:9069/base?useUnicode=true&characterEncoding=utf-8&autoReconnect=true
  198. username: wlyy
  199. password: jkzlehr@123
  200. redis:
  201. host: 59.61.92.90 # Redis server host.
  202. port: 9054 # Redis server port.
  203. password: jkzlehr
  204. fastDFS:
  205. fastdfs_file_url: http://172.19.103.54:80/
  206. fast-dfs:
  207. tracker-server: 172.19.103.54:22122
  208. public-server: http://172.19.103.54:80/
  209. neiwang:
  210. enable: false
  211. wlyy: http://59.61.92.90:9099/iot/
  212. server:
  213. server_url: http://ehr.yihu.com/wlyy/
  214. base:
  215. url: http://192.168.120.96:10020/svr-base/
  216. hospitalUrl: http://172.26.0.107:10022/
  217. wechat:
  218. appId: wxad04e9c4c5255acf
  219. appSecret: ae77c48ccf1af5d07069f5153d1ac8d3
  220. wechat_token: 27eb3bb24f149a7760cf1bb154b08040
  221. wechat_base_url: http%3a%2f%2fwww.xmtyw.cn%2fwlyy
  222. accId: gh_ffd64560fb21
  223. id: sd_tnzyy_wx # base库中,wx_wechat 的id字段
  224. flag: true #演示环境 true走Mysql数据库 false走Oracle
  225. im:
  226. im_list_get: http://27.155.101.77:3000/
  227. data_base_name: im
  228. es:
  229. pwflag: 1 # 1需要密码,2不需要密码
  230. index:
  231. Statistics: hlw_quota_test
  232. FollowUp: wlyy_followup
  233. type:
  234. Statistics: hlw_quota_test
  235. FollowUpContent: wlyy_followup_content
  236. host: http://172.26.0.55:9000
  237. tHost: 172.26.0.55:9300
  238. clusterName: jkzl
  239. securityUser: lion:jkzlehr
  240. user: lion
  241. password: jkzlehr
  242. wlyy:
  243. url: http://ehr.yihu.com/wlyy/
  244. hospital:
  245. url: https://wx.xmzsh.com
  246. mqUser: JKZL
  247. mqPwd: 123456
  248. SourceSysCode: S60
  249. TargetSysCode: S01
  250. demo:
  251. flag: false
  252. express:
  253. sf_url: https://mrds-admin.sf-express.com:443
  254. sf_code: WH000101
  255. sf_check_word: EDSAFWFAQWyjt8099
  256. pay:
  257. flag: true
  258. # 上传文件临时路径配置
  259. FileTempPath:
  260. upload_temp_path : /var/local/temp
  261. image_path : /var/local/upload/images
  262. voice_path : /var/local/upload/voice
  263. chat_file_path : /var/local/upload/chat
  264. # 系统配置
  265. systemSetting:
  266. isApplication: 0 # 是否需要资质申请 1需要 0 不需要
  267. ---
  268. spring:
  269. profiles: tnJwprod
  270. datasource:
  271. url: jdbc:mysql://10.9.1.247:3310/base?useUnicode=true&characterEncoding=utf-8&autoReconnect=true
  272. username: wlyy
  273. password: qY#j2n5O
  274. redis:
  275. host: 10.9.1.247 # Redis server host.
  276. port: 6380 # Redis server port.
  277. password: Kb6wKDQP1W4
  278. fastDFS:
  279. fastdfs_file_url: http://365q88j171.oicp.vip:44840/fastdfs/
  280. fast-dfs:
  281. tracker-server: 10.9.1.247:22122
  282. public-server: http://365q88j171.oicp.vip:44840/fastdfs/
  283. neiwang:
  284. enable: true
  285. wlyy: http://59.61.92.90:9099/iot/
  286. server:
  287. server_url: http://ehr.yihu.com/wlyy/
  288. base:
  289. url: http://127.0.0.1:10020/svr-base/
  290. hospitalUrl: http://10.9.1.247:10022/
  291. wechat:
  292. appId: wxad04e9c4c5255acf1
  293. appSecret: ae77c48ccf1af5d07069f5153d1ac8d31
  294. wechat_token: 27eb3bb24f149a7760cf1bb154b080401
  295. wechat_base_url: http%3a%2f%2fwww.xmt1yw.cn%2fwlyy
  296. accId: gh_ffd64560fb211
  297. id: sd_tnzyy_wx # base库中,wx_wechat 的id字段
  298. flag: true #演示环境 true走Mysql数据库 false走Oracle
  299. im:
  300. im_list_get: http://10.9.1.247:3000/
  301. data_base_name: im
  302. es:
  303. pwflag: 1 # 1需要密码,2不需要密码
  304. index:
  305. Statistics: hlw_quota_prod
  306. FollowUp: wlyy_followup
  307. type:
  308. Statistics: hlw_quota_prod
  309. FollowUpContent: wlyy_followup_content
  310. host: http://10.9.1.247:9200
  311. tHost: 10.9.1.247:9300
  312. clusterName: jkzl
  313. securityUser: lion:jkzlehr
  314. user: lion
  315. password: jkzlehr
  316. wlyy:
  317. url: http://ehr.yihu.com/wlyy/
  318. hospital:
  319. url: https://wx.xmzsh.com
  320. mqUser: JKZL
  321. mqPwd: 123456
  322. SourceSysCode: S60
  323. TargetSysCode: S01
  324. demo:
  325. flag: false
  326. express:
  327. sf_url: https://mrds-admin.sf-express.com:443
  328. sf_code: WH000101
  329. sf_check_word: EDSAFWFAQWyjt8099
  330. pay:
  331. flag: true
  332. # 上传文件临时路径配置
  333. FileTempPath:
  334. upload_temp_path : /var/local/temp
  335. image_path : /var/local/upload/images
  336. voice_path : /var/local/upload/voice
  337. chat_file_path : /var/local/upload/chat
  338. # 系统配置
  339. systemSetting:
  340. isApplication: 0 # 是否需要资质申请 1需要 0 不需要