application.yml 11 KB

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