vue2-openlayers 0.1.3 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (238) hide show
  1. package/package.json +9 -8
  2. package/{vue2-openlayers/vue2-openlayers.common.js → vue2-openlayers.common.js} +121 -96
  3. package/{vue2-openlayers/vue2-openlayers.common.js.map → vue2-openlayers.common.js.map} +1 -1
  4. package/{vue2-openlayers/vue2-openlayers.css → vue2-openlayers.css} +1 -1
  5. package/{vue2-openlayers/vue2-openlayers.umd.js → vue2-openlayers.umd.js} +121 -96
  6. package/{vue2-openlayers/vue2-openlayers.umd.js.map → vue2-openlayers.umd.js.map} +1 -1
  7. package/vue2-openlayers.umd.min.js +2 -0
  8. package/vue2-openlayers.umd.min.js.map +1 -0
  9. package/README.md +0 -24
  10. package/babel.config.js +0 -5
  11. package/dist/css/index.34f0f0b9.css +0 -1
  12. package/dist/favicon.ico +0 -0
  13. package/dist/img/bottom_box.625e42a5.png +0 -0
  14. package/dist/img/car1.dd9a098b.png +0 -0
  15. package/dist/img/complete.2d0fa612.png +0 -0
  16. package/dist/img/diago_content.0d88c929.png +0 -0
  17. package/dist/img/diago_text_box.2e4da66b.png +0 -0
  18. package/dist/img/diago_title.2bd95b7a.png +0 -0
  19. package/dist/img/exception.a1eeefc3.png +0 -0
  20. package/dist/img/info1.829a6d7e.png +0 -0
  21. package/dist/img/info2.09e6e79e.png +0 -0
  22. package/dist/img/info3.3f96f756.png +0 -0
  23. package/dist/img/info4.6adcb927.png +0 -0
  24. package/dist/img/info5.ff3fdd2f.png +0 -0
  25. package/dist/img/info6.6e159d95.png +0 -0
  26. package/dist/img/left_box.40419b36.png +0 -0
  27. package/dist/img/money1.0743e701.png +0 -0
  28. package/dist/img/money2.58610d4d.png +0 -0
  29. package/dist/img/operating_fee.e6523ccc.png +0 -0
  30. package/dist/img/processing.28e46e7f.png +0 -0
  31. package/dist/img/public_content_box.39782fb5.png +0 -0
  32. package/dist/img/public_title_box1.6002afd4.png +0 -0
  33. package/dist/img/right_box.08458fe5.png +0 -0
  34. package/dist/img/success1.0cbc58af.png +0 -0
  35. package/dist/img/success2.af1a7499.png +0 -0
  36. package/dist/img/success3.d74caac5.png +0 -0
  37. package/dist/img/success4.37cc2343.png +0 -0
  38. package/dist/img/top_box.806bc756.png +0 -0
  39. package/dist/img/warehouse_map_popup.fa26d6cd.png +0 -0
  40. package/dist/img/work_error.3c528fdd.png +0 -0
  41. package/dist/img/work_su.0cbc58af.png +0 -0
  42. package/dist/img/work_wait.a2a706c9.png +0 -0
  43. package/dist/index.html +0 -13
  44. package/dist/js/chunk-vendors.901bdf0b.js +0 -8
  45. package/dist/js/chunk-vendors.901bdf0b.js.map +0 -1
  46. package/dist/js/index.29606843.js +0 -2
  47. package/dist/js/index.29606843.js.map +0 -1
  48. package/docs/.vuepress/config.js +0 -25
  49. package/docs/.vuepress/dist/404.html +0 -20
  50. package/docs/.vuepress/dist/assets/css/0.styles.7cfabf05.css +0 -1
  51. package/docs/.vuepress/dist/assets/img/7F8296FF-4A75-4013-BBFC-D482BF5303FF.597ff8a1.png +0 -0
  52. package/docs/.vuepress/dist/assets/img/gateway.98d6c8ec.jpg +0 -0
  53. package/docs/.vuepress/dist/assets/img/mysql_images.07b3a3e5.jpg +0 -0
  54. package/docs/.vuepress/dist/assets/img/nacos.741b050d.jpg +0 -0
  55. package/docs/.vuepress/dist/assets/img/rabbitmq.50b12be7.jpg +0 -0
  56. package/docs/.vuepress/dist/assets/img/redis_images.f0979945.jpg +0 -0
  57. package/docs/.vuepress/dist/assets/img/search.83621669.svg +0 -1
  58. package/docs/.vuepress/dist/assets/img/server-structure.6e0aa81e.png +0 -0
  59. package/docs/.vuepress/dist/assets/js/10.285f55d1.js +0 -1
  60. package/docs/.vuepress/dist/assets/js/11.decff412.js +0 -1
  61. package/docs/.vuepress/dist/assets/js/12.b9ed6e21.js +0 -1
  62. package/docs/.vuepress/dist/assets/js/13.d9c8c7a9.js +0 -1
  63. package/docs/.vuepress/dist/assets/js/14.6495a0e6.js +0 -1
  64. package/docs/.vuepress/dist/assets/js/15.70d64d1a.js +0 -1
  65. package/docs/.vuepress/dist/assets/js/16.a93c018c.js +0 -1
  66. package/docs/.vuepress/dist/assets/js/17.ed91eb16.js +0 -1
  67. package/docs/.vuepress/dist/assets/js/18.d07cd593.js +0 -1
  68. package/docs/.vuepress/dist/assets/js/19.4b8a0f22.js +0 -1
  69. package/docs/.vuepress/dist/assets/js/2.2668fa1b.js +0 -1
  70. package/docs/.vuepress/dist/assets/js/20.52de9326.js +0 -1
  71. package/docs/.vuepress/dist/assets/js/21.2293a5ca.js +0 -1
  72. package/docs/.vuepress/dist/assets/js/3.fd22fded.js +0 -1
  73. package/docs/.vuepress/dist/assets/js/4.ad26b2fa.js +0 -1
  74. package/docs/.vuepress/dist/assets/js/5.a1c97bcb.js +0 -1
  75. package/docs/.vuepress/dist/assets/js/6.32f67120.js +0 -1
  76. package/docs/.vuepress/dist/assets/js/7.99161716.js +0 -1
  77. package/docs/.vuepress/dist/assets/js/8.a0d65864.js +0 -1
  78. package/docs/.vuepress/dist/assets/js/9.2d06e692.js +0 -1
  79. package/docs/.vuepress/dist/assets/js/app.0be82e56.js +0 -15
  80. package/docs/.vuepress/dist/config/config_list.html +0 -58
  81. package/docs/.vuepress/dist/config/index.html +0 -69
  82. package/docs/.vuepress/dist/guide/admin.html +0 -26
  83. package/docs/.vuepress/dist/guide/deepchange.html +0 -213
  84. package/docs/.vuepress/dist/guide/gateway.html +0 -45
  85. package/docs/.vuepress/dist/guide/hystrix.html +0 -26
  86. package/docs/.vuepress/dist/guide/index.html +0 -66
  87. package/docs/.vuepress/dist/guide/nacos.html +0 -26
  88. package/docs/.vuepress/dist/guide/opsdev.html +0 -26
  89. package/docs/.vuepress/dist/guide/rabbitmq.html +0 -26
  90. package/docs/.vuepress/dist/guide/skywarking.html +0 -52
  91. package/docs/.vuepress/dist/guide/summary.html +0 -74
  92. package/docs/.vuepress/dist/help/index.html +0 -28
  93. package/docs/.vuepress/dist/help/markdown.html +0 -33
  94. package/docs/.vuepress/dist/images/7F8296FF-4A75-4013-BBFC-D482BF5303FF.png +0 -0
  95. package/docs/.vuepress/dist/images/gateway.jpg +0 -0
  96. package/docs/.vuepress/dist/images/mysql_images.jpg +0 -0
  97. package/docs/.vuepress/dist/images/nacos.jpg +0 -0
  98. package/docs/.vuepress/dist/images/rabbitmq.jpg +0 -0
  99. package/docs/.vuepress/dist/images/redis_images.jpg +0 -0
  100. package/docs/.vuepress/dist/images/server-structure.png +0 -0
  101. package/docs/.vuepress/dist/index.html +0 -26
  102. package/docs/.vuepress/dist/logo.jpg +0 -0
  103. package/docs/.vuepress/nav.js +0 -34
  104. package/docs/.vuepress/public/images/7F8296FF-4A75-4013-BBFC-D482BF5303FF.png +0 -0
  105. package/docs/.vuepress/public/images/gateway.jpg +0 -0
  106. package/docs/.vuepress/public/images/mysql_images.jpg +0 -0
  107. package/docs/.vuepress/public/images/nacos.jpg +0 -0
  108. package/docs/.vuepress/public/images/rabbitmq.jpg +0 -0
  109. package/docs/.vuepress/public/images/redis_images.jpg +0 -0
  110. package/docs/.vuepress/public/images/server-structure.png +0 -0
  111. package/docs/.vuepress/public/logo.jpg +0 -0
  112. package/docs/.vuepress/sidebar.js +0 -62
  113. package/docs/README.md +0 -15
  114. package/docs/config/README.md +0 -108
  115. package/docs/config/config_list.md +0 -42
  116. package/docs/guide/README.md +0 -79
  117. package/docs/guide/admin.md +0 -25
  118. package/docs/guide/deepchange.md +0 -393
  119. package/docs/guide/gateway.md +0 -40
  120. package/docs/guide/hystrix.md +0 -21
  121. package/docs/guide/nacos.md +0 -7
  122. package/docs/guide/opsdev.md +0 -12
  123. package/docs/guide/rabbitmq.md +0 -15
  124. package/docs/guide/skywarking.md +0 -77
  125. package/docs/guide/summary.md +0 -120
  126. package/docs/help/README.md +0 -29
  127. package/docs/help/markdown.md +0 -165
  128. package/examples/App.vue +0 -21
  129. package/examples/assets/css/map-base.scss +0 -333
  130. package/examples/assets/fonts/pmzd.ttf +0 -0
  131. package/examples/assets/icons/index.js +0 -9
  132. package/examples/assets/icons/svg/404.svg +0 -1
  133. package/examples/assets/icons/svg/bug.svg +0 -1
  134. package/examples/assets/icons/svg/build.svg +0 -1
  135. package/examples/assets/icons/svg/button.svg +0 -1
  136. package/examples/assets/icons/svg/cascader.svg +0 -1
  137. package/examples/assets/icons/svg/chart.svg +0 -1
  138. package/examples/assets/icons/svg/checkbox.svg +0 -1
  139. package/examples/assets/icons/svg/clipboard.svg +0 -1
  140. package/examples/assets/icons/svg/code.svg +0 -1
  141. package/examples/assets/icons/svg/color.svg +0 -1
  142. package/examples/assets/icons/svg/component.svg +0 -1
  143. package/examples/assets/icons/svg/dashboard.svg +0 -1
  144. package/examples/assets/icons/svg/date-range.svg +0 -1
  145. package/examples/assets/icons/svg/date.svg +0 -1
  146. package/examples/assets/icons/svg/dict.svg +0 -1
  147. package/examples/assets/icons/svg/documentation.svg +0 -1
  148. package/examples/assets/icons/svg/download.svg +0 -1
  149. package/examples/assets/icons/svg/drag.svg +0 -1
  150. package/examples/assets/icons/svg/druid.svg +0 -1
  151. package/examples/assets/icons/svg/edit.svg +0 -1
  152. package/examples/assets/icons/svg/education.svg +0 -1
  153. package/examples/assets/icons/svg/email.svg +0 -1
  154. package/examples/assets/icons/svg/example.svg +0 -1
  155. package/examples/assets/icons/svg/excel.svg +0 -1
  156. package/examples/assets/icons/svg/exit-fullscreen.svg +0 -1
  157. package/examples/assets/icons/svg/eye-open.svg +0 -1
  158. package/examples/assets/icons/svg/eye.svg +0 -1
  159. package/examples/assets/icons/svg/form.svg +0 -1
  160. package/examples/assets/icons/svg/fullscreen.svg +0 -1
  161. package/examples/assets/icons/svg/github.svg +0 -1
  162. package/examples/assets/icons/svg/guide.svg +0 -1
  163. package/examples/assets/icons/svg/icon.svg +0 -1
  164. package/examples/assets/icons/svg/input.svg +0 -1
  165. package/examples/assets/icons/svg/international.svg +0 -1
  166. package/examples/assets/icons/svg/job.svg +0 -1
  167. package/examples/assets/icons/svg/language.svg +0 -1
  168. package/examples/assets/icons/svg/link.svg +0 -1
  169. package/examples/assets/icons/svg/list.svg +0 -1
  170. package/examples/assets/icons/svg/lock.svg +0 -1
  171. package/examples/assets/icons/svg/log.svg +0 -1
  172. package/examples/assets/icons/svg/logininfor.svg +0 -1
  173. package/examples/assets/icons/svg/message.svg +0 -1
  174. package/examples/assets/icons/svg/money.svg +0 -1
  175. package/examples/assets/icons/svg/monitor.svg +0 -2
  176. package/examples/assets/icons/svg/nested.svg +0 -1
  177. package/examples/assets/icons/svg/number.svg +0 -1
  178. package/examples/assets/icons/svg/online.svg +0 -1
  179. package/examples/assets/icons/svg/password.svg +0 -1
  180. package/examples/assets/icons/svg/pdf.svg +0 -1
  181. package/examples/assets/icons/svg/people.svg +0 -1
  182. package/examples/assets/icons/svg/peoples.svg +0 -1
  183. package/examples/assets/icons/svg/phone.svg +0 -1
  184. package/examples/assets/icons/svg/post.svg +0 -1
  185. package/examples/assets/icons/svg/qq.svg +0 -1
  186. package/examples/assets/icons/svg/question.svg +0 -1
  187. package/examples/assets/icons/svg/radio.svg +0 -1
  188. package/examples/assets/icons/svg/rate.svg +0 -1
  189. package/examples/assets/icons/svg/redis.svg +0 -1
  190. package/examples/assets/icons/svg/row.svg +0 -1
  191. package/examples/assets/icons/svg/search.svg +0 -1
  192. package/examples/assets/icons/svg/select.svg +0 -1
  193. package/examples/assets/icons/svg/server.svg +0 -1
  194. package/examples/assets/icons/svg/shopping.svg +0 -1
  195. package/examples/assets/icons/svg/size.svg +0 -1
  196. package/examples/assets/icons/svg/skill.svg +0 -1
  197. package/examples/assets/icons/svg/slider.svg +0 -1
  198. package/examples/assets/icons/svg/star.svg +0 -1
  199. package/examples/assets/icons/svg/swagger.svg +0 -1
  200. package/examples/assets/icons/svg/switch.svg +0 -1
  201. package/examples/assets/icons/svg/system.svg +0 -2
  202. package/examples/assets/icons/svg/tab.svg +0 -1
  203. package/examples/assets/icons/svg/table.svg +0 -1
  204. package/examples/assets/icons/svg/textarea.svg +0 -1
  205. package/examples/assets/icons/svg/theme.svg +0 -1
  206. package/examples/assets/icons/svg/time-range.svg +0 -1
  207. package/examples/assets/icons/svg/time.svg +0 -1
  208. package/examples/assets/icons/svg/tool.svg +0 -1
  209. package/examples/assets/icons/svg/tree-table.svg +0 -1
  210. package/examples/assets/icons/svg/tree.svg +0 -1
  211. package/examples/assets/icons/svg/turn-right.svg +0 -1
  212. package/examples/assets/icons/svg/upload.svg +0 -1
  213. package/examples/assets/icons/svg/user.svg +0 -1
  214. package/examples/assets/icons/svg/validCode.svg +0 -1
  215. package/examples/assets/icons/svg/wechat.svg +0 -1
  216. package/examples/assets/icons/svg/zip.svg +0 -1
  217. package/examples/assets/icons/svgo.yml +0 -22
  218. package/examples/assets/images/close_diago.png +0 -0
  219. package/examples/assets/images/red_circle.png +0 -0
  220. package/examples/assets/images/w_mj_map.png +0 -0
  221. package/examples/assets/images/warehouse_map_popup.png +0 -0
  222. package/examples/assets/images/warehouse_map_success.png +0 -0
  223. package/examples/assets/images/warehouse_map_warning.png +0 -0
  224. package/examples/assets/js/gps.js +0 -222
  225. package/examples/assets/logo.png +0 -0
  226. package/examples/components/HelloWorld.vue +0 -273
  227. package/examples/components/MapPopup.vue +0 -80
  228. package/examples/data/510000.js +0 -2056
  229. package/examples/data/510000.json +0 -2055
  230. package/examples/data/testData.js +0 -2088
  231. package/examples/main.js +0 -28
  232. package/examples/utils/echarts/esresize.js +0 -110
  233. package/jsconfig.json +0 -19
  234. package/vue.config.js +0 -54
  235. package/vue2-openlayers/package.json +0 -56
  236. package/vue2-openlayers/vue2-openlayers.umd.min.js +0 -2
  237. package/vue2-openlayers/vue2-openlayers.umd.min.js.map +0 -1
  238. /package/{vue2-openlayers/demo.html → demo.html} +0 -0
@@ -1 +0,0 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[3],{418:function(s,a,t){s.exports=t.p+"assets/img/7F8296FF-4A75-4013-BBFC-D482BF5303FF.597ff8a1.png"},419:function(s,a,t){s.exports=t.p+"assets/img/mysql_images.07b3a3e5.jpg"},420:function(s,a,t){s.exports=t.p+"assets/img/nacos.741b050d.jpg"},421:function(s,a,t){s.exports=t.p+"assets/img/redis_images.f0979945.jpg"},436:function(s,a,t){"use strict";t.r(a);var e=t(62),r=Object(e.a)({},(function(){var s=this,a=s.$createElement,e=s._self._c||a;return e("ContentSlotsDistributor",{attrs:{"slot-key":s.$parent.slotKey}},[e("h1",{attrs:{id:"chengyu-cloud部署"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#chengyu-cloud部署"}},[s._v("#")]),s._v(" ChengYu-cloud部署")]),s._v(" "),e("h2",{attrs:{id:"环境说明"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#环境说明"}},[s._v("#")]),s._v(" 环境说明")]),s._v(" "),e("p",[s._v("JDK: 1.8")]),s._v(" "),e("p",[s._v("Maven:")]),s._v(" "),e("p",[s._v("MySql:")]),s._v(" "),e("p",[s._v("Redis:")]),s._v(" "),e("p",[s._v("PostgreSQL:")]),s._v(" "),e("h2",{attrs:{id:"archiva-maven"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#archiva-maven"}},[s._v("#")]),s._v(" Archiva Maven")]),s._v(" "),e("p",[s._v("后台管理地址:http://192.144.227.154:8989")]),s._v(" "),e("div",{staticClass:"language- line-numbers-mode"},[e("pre",{pre:!0,attrs:{class:"language-text"}},[e("code",[s._v("账号:admin\n密码:admin20200202\n")])]),s._v(" "),e("div",{staticClass:"line-numbers-wrapper"},[e("span",{staticClass:"line-number"},[s._v("1")]),e("br"),e("span",{staticClass:"line-number"},[s._v("2")]),e("br")])]),e("p",[s._v("本地maven配置 添加maven仓库连接地址和账号")]),s._v(" "),e("div",{staticClass:"language- line-numbers-mode"},[e("pre",{pre:!0,attrs:{class:"language-text"}},[e("code",[s._v("<servers>\n <server>\n <id>archiva-releases</id>\n <username>admin</username>\n <password>admin20200202</password>\n </server>\n <server>\n <id>archiva-snapshots</id>\n <username>admin</username>\n <password>admin20200202</password>\n </server>\n</servers>\n\n<mirrors>\n <mirror> \n <id>archiva-releases</id> \n <mirrorOf>internal</mirrorOf> \n <url>http://192.144.227.154:8989/repository/internal/</url> \n </mirror>\n <mirror> \n <id>archiva-snapshots</id>\n <mirrorOf>snapshots</mirrorOf> \n <url>http://192.144.227.154:8989/repository/snapshots/</url> \n </mirror>\n</mirrors>\n \n<profiles>\n <profile>\n <activation>\n <activeByDefault>true</activeByDefault>\n </activation>\n <repositories>\n <repository>\n <id>internal</id>\n <name>Archiva Managed Internal Repository</name>\n <url>http://192.144.227.154:8989/repository/internal/</url>\n <releases>\n <enabled>true</enabled>\n </releases>\n <snapshots>\n <enabled>false</enabled>\n </snapshots>\n </repository>\n <repository>\n <id>snapshots</id>\n <name>Archiva Managed Snapshots Repository</name>\n <url>http://192.144.227.154:8989/repository/snapshots/</url>\n <releases>\n <enabled>false</enabled>\n </releases>\n <snapshots>\n <enabled>true</enabled>\n </snapshots>\n </repository>\n </repositories>\n </profile>\n</profiles>\n")])]),s._v(" "),e("div",{staticClass:"line-numbers-wrapper"},[e("span",{staticClass:"line-number"},[s._v("1")]),e("br"),e("span",{staticClass:"line-number"},[s._v("2")]),e("br"),e("span",{staticClass:"line-number"},[s._v("3")]),e("br"),e("span",{staticClass:"line-number"},[s._v("4")]),e("br"),e("span",{staticClass:"line-number"},[s._v("5")]),e("br"),e("span",{staticClass:"line-number"},[s._v("6")]),e("br"),e("span",{staticClass:"line-number"},[s._v("7")]),e("br"),e("span",{staticClass:"line-number"},[s._v("8")]),e("br"),e("span",{staticClass:"line-number"},[s._v("9")]),e("br"),e("span",{staticClass:"line-number"},[s._v("10")]),e("br"),e("span",{staticClass:"line-number"},[s._v("11")]),e("br"),e("span",{staticClass:"line-number"},[s._v("12")]),e("br"),e("span",{staticClass:"line-number"},[s._v("13")]),e("br"),e("span",{staticClass:"line-number"},[s._v("14")]),e("br"),e("span",{staticClass:"line-number"},[s._v("15")]),e("br"),e("span",{staticClass:"line-number"},[s._v("16")]),e("br"),e("span",{staticClass:"line-number"},[s._v("17")]),e("br"),e("span",{staticClass:"line-number"},[s._v("18")]),e("br"),e("span",{staticClass:"line-number"},[s._v("19")]),e("br"),e("span",{staticClass:"line-number"},[s._v("20")]),e("br"),e("span",{staticClass:"line-number"},[s._v("21")]),e("br"),e("span",{staticClass:"line-number"},[s._v("22")]),e("br"),e("span",{staticClass:"line-number"},[s._v("23")]),e("br"),e("span",{staticClass:"line-number"},[s._v("24")]),e("br"),e("span",{staticClass:"line-number"},[s._v("25")]),e("br"),e("span",{staticClass:"line-number"},[s._v("26")]),e("br"),e("span",{staticClass:"line-number"},[s._v("27")]),e("br"),e("span",{staticClass:"line-number"},[s._v("28")]),e("br"),e("span",{staticClass:"line-number"},[s._v("29")]),e("br"),e("span",{staticClass:"line-number"},[s._v("30")]),e("br"),e("span",{staticClass:"line-number"},[s._v("31")]),e("br"),e("span",{staticClass:"line-number"},[s._v("32")]),e("br"),e("span",{staticClass:"line-number"},[s._v("33")]),e("br"),e("span",{staticClass:"line-number"},[s._v("34")]),e("br"),e("span",{staticClass:"line-number"},[s._v("35")]),e("br"),e("span",{staticClass:"line-number"},[s._v("36")]),e("br"),e("span",{staticClass:"line-number"},[s._v("37")]),e("br"),e("span",{staticClass:"line-number"},[s._v("38")]),e("br"),e("span",{staticClass:"line-number"},[s._v("39")]),e("br"),e("span",{staticClass:"line-number"},[s._v("40")]),e("br"),e("span",{staticClass:"line-number"},[s._v("41")]),e("br"),e("span",{staticClass:"line-number"},[s._v("42")]),e("br"),e("span",{staticClass:"line-number"},[s._v("43")]),e("br"),e("span",{staticClass:"line-number"},[s._v("44")]),e("br"),e("span",{staticClass:"line-number"},[s._v("45")]),e("br"),e("span",{staticClass:"line-number"},[s._v("46")]),e("br"),e("span",{staticClass:"line-number"},[s._v("47")]),e("br"),e("span",{staticClass:"line-number"},[s._v("48")]),e("br"),e("span",{staticClass:"line-number"},[s._v("49")]),e("br"),e("span",{staticClass:"line-number"},[s._v("50")]),e("br"),e("span",{staticClass:"line-number"},[s._v("51")]),e("br"),e("span",{staticClass:"line-number"},[s._v("52")]),e("br"),e("span",{staticClass:"line-number"},[s._v("53")]),e("br"),e("span",{staticClass:"line-number"},[s._v("54")]),e("br"),e("span",{staticClass:"line-number"},[s._v("55")]),e("br"),e("span",{staticClass:"line-number"},[s._v("56")]),e("br"),e("span",{staticClass:"line-number"},[s._v("57")]),e("br")])]),e("p",[s._v("pom.xml配置")]),s._v(" "),e("div",{staticClass:"language- line-numbers-mode"},[e("pre",{pre:!0,attrs:{class:"language-text"}},[e("code",[s._v(" <distributionManagement>\n <repository>\n <id>archiva-releases</id>\n <url>http://192.144.227.154:8989/repository/internal/</url>\n </repository>\n <snapshotRepository>\n <id>archiva-snapshots</id>\n <url>http://192.144.227.154:8989/repository/snapshots/</url>\n </snapshotRepository>\n </distributionManagement>\n \n")])]),s._v(" "),e("div",{staticClass:"line-numbers-wrapper"},[e("span",{staticClass:"line-number"},[s._v("1")]),e("br"),e("span",{staticClass:"line-number"},[s._v("2")]),e("br"),e("span",{staticClass:"line-number"},[s._v("3")]),e("br"),e("span",{staticClass:"line-number"},[s._v("4")]),e("br"),e("span",{staticClass:"line-number"},[s._v("5")]),e("br"),e("span",{staticClass:"line-number"},[s._v("6")]),e("br"),e("span",{staticClass:"line-number"},[s._v("7")]),e("br"),e("span",{staticClass:"line-number"},[s._v("8")]),e("br"),e("span",{staticClass:"line-number"},[s._v("9")]),e("br"),e("span",{staticClass:"line-number"},[s._v("10")]),e("br"),e("span",{staticClass:"line-number"},[s._v("11")]),e("br")])]),e("p",[e("img",{attrs:{src:t(418),alt:"\t"}})]),s._v(" "),e("h2",{attrs:{id:"docker"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#docker"}},[s._v("#")]),s._v(" docker")]),s._v(" "),e("h3",{attrs:{id:"docker安装"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#docker安装"}},[s._v("#")]),s._v(" docker安装")]),s._v(" "),e("p",[s._v("采用方式:升级系统为Windows 10 专业版")]),s._v(" "),e("div",{staticClass:"language- line-numbers-mode"},[e("pre",{pre:!0,attrs:{class:"language-text"}},[e("code",[s._v("1.更新Windows为最新版本\n2.升级Windows为专业版\n")])]),s._v(" "),e("div",{staticClass:"line-numbers-wrapper"},[e("span",{staticClass:"line-number"},[s._v("1")]),e("br"),e("span",{staticClass:"line-number"},[s._v("2")]),e("br")])]),e("p",[s._v("安装:安装"),e("a",{attrs:{href:"https://www.docker.com/",target:"_blank",rel:"noopener noreferrer"}},[s._v("docker官网"),e("OutboundLink")],1)]),s._v(" "),e("p",[s._v("环境配置:控制面板\\程序\\程序和功能\\启用或关闭Windows功能\\勾选Hyper-V 重启生效")]),s._v(" "),e("h3",{attrs:{id:"docker软件安装"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#docker软件安装"}},[s._v("#")]),s._v(" docker软件安装")]),s._v(" "),e("h4",{attrs:{id:"_1-mysql安装"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_1-mysql安装"}},[s._v("#")]),s._v(" 1.mySQL安装")]),s._v(" "),e("p",[s._v("拉取官方的最新版本的镜像 "),e("a",{attrs:{href:"https://hub.docker.com/_/mysql?tab=tags",target:"_blank",rel:"noopener noreferrer"}},[s._v("MySQL 镜像库地址"),e("OutboundLink")],1),s._v(":")]),s._v(" "),e("div",{staticClass:"language- line-numbers-mode"},[e("pre",{pre:!0,attrs:{class:"language-text"}},[e("code",[s._v("docker pull mysql:latest\n")])]),s._v(" "),e("div",{staticClass:"line-numbers-wrapper"},[e("span",{staticClass:"line-number"},[s._v("1")]),e("br")])]),e("h5",{attrs:{id:"_2-查看本地镜像"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_2-查看本地镜像"}},[s._v("#")]),s._v(" 2.查看本地镜像")]),s._v(" "),e("p",[s._v("查看是否已安装了 mysql:")]),s._v(" "),e("div",{staticClass:"language- line-numbers-mode"},[e("pre",{pre:!0,attrs:{class:"language-text"}},[e("code",[s._v("docker images\n")])]),s._v(" "),e("div",{staticClass:"line-numbers-wrapper"},[e("span",{staticClass:"line-number"},[s._v("1")]),e("br")])]),e("p",[e("img",{attrs:{src:t(419),alt:"\t"}})]),s._v(" "),e("h5",{attrs:{id:"_3-运行容器"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_3-运行容器"}},[s._v("#")]),s._v(" 3.运行容器")]),s._v(" "),e("div",{staticClass:"language- line-numbers-mode"},[e("pre",{pre:!0,attrs:{class:"language-text"}},[e("code",[s._v("docker run -itd --name mysql-test -p 3306:3306 -e MYSQL_ROOT_PASSWORD=123456 47.111.253.18:5000/mysql\n")])]),s._v(" "),e("div",{staticClass:"line-numbers-wrapper"},[e("span",{staticClass:"line-number"},[s._v("1")]),e("br")])]),e("ul",[e("li",[e("strong",[s._v("-p 3306:3306")]),s._v(" :映射容器服务的 3306 端口到宿主机的 3306 端口,外部主机可以直接通过 "),e("strong",[s._v("宿主机ip:3306")]),s._v(" 访问到 MySQL 的服务。")]),s._v(" "),e("li",[e("strong",[s._v("MYSQL_ROOT_PASSWORD=123456")]),s._v(":设置 MySQL 服务 root 用户的密码")])]),s._v(" "),e("h5",{attrs:{id:"_5-安装成功"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_5-安装成功"}},[s._v("#")]),s._v(" 5.安装成功")]),s._v(" "),e("p",[s._v("查看是否安装成功")]),s._v(" "),e("div",{staticClass:"language- line-numbers-mode"},[e("pre",{pre:!0,attrs:{class:"language-text"}},[e("code",[s._v("docker ps\n")])]),s._v(" "),e("div",{staticClass:"line-numbers-wrapper"},[e("span",{staticClass:"line-number"},[s._v("1")]),e("br")])]),e("h4",{attrs:{id:"_2、nacos安装"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_2、nacos安装"}},[s._v("#")]),s._v(" 2、nacos安装")]),s._v(" "),e("h5",{attrs:{id:"_1-安装nacos"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_1-安装nacos"}},[s._v("#")]),s._v(" 1.安装nacos")]),s._v(" "),e("p",[s._v("nacos的环境搭建,参考"),e("a",{attrs:{href:"https://nacos.io/zh-cn/docs/quick-start-docker.html",target:"_blank",rel:"noopener noreferrer"}},[s._v("官方文档"),e("OutboundLink")],1)]),s._v(" "),e("div",{staticClass:"language- line-numbers-mode"},[e("pre",{pre:!0,attrs:{class:"language-text"}},[e("code",[s._v("docker pull nacos/nacos-server\n")])]),s._v(" "),e("div",{staticClass:"line-numbers-wrapper"},[e("span",{staticClass:"line-number"},[s._v("1")]),e("br")])]),e("h5",{attrs:{id:"_2-启动nacos"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_2-启动nacos"}},[s._v("#")]),s._v(" 2.启动nacos")]),s._v(" "),e("div",{staticClass:"language- line-numbers-mode"},[e("pre",{pre:!0,attrs:{class:"language-text"}},[e("code",[s._v("docker run --env MODE=standalone --name nacos -d -p 8848:8848 47.111.253.18:5000/nacos/nacos-server\n")])]),s._v(" "),e("div",{staticClass:"line-numbers-wrapper"},[e("span",{staticClass:"line-number"},[s._v("1")]),e("br")])]),e("h5",{attrs:{id:"_3-查看nacos服务"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_3-查看nacos服务"}},[s._v("#")]),s._v(" 3.查看nacos服务")]),s._v(" "),e("p",[s._v("地址:http://localhost:8848/nacos\n用户名密码:nacos/nacos\n"),e("img",{attrs:{src:t(420),alt:"\t"}})]),s._v(" "),e("h5",{attrs:{id:"_4-导入nacos数据库"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_4-导入nacos数据库"}},[s._v("#")]),s._v(" 4.导入nacos数据库")]),s._v(" "),e("p",[s._v("https://gitee.com/jeecg/jeecg-boot/blob/master/jeecg-boot/db/tables_nacos.sql")]),s._v(" "),e("h5",{attrs:{id:"_5-nacos连接mysql"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_5-nacos连接mysql"}},[s._v("#")]),s._v(" 5.nacos连接mysql")]),s._v(" "),e("p",[s._v("查看docker中mySQL "),e("strong",[s._v("IPAddress")]),s._v(" 地址")]),s._v(" "),e("div",{staticClass:"language-json line-numbers-mode"},[e("pre",{pre:!0,attrs:{class:"language-json"}},[e("code",[s._v("docker inspect mysql容器ID\ndocker exec -it nacos容器ID bash\ncd conf\nvi application.properties\n修改nacos连接mysql\n")])]),s._v(" "),e("div",{staticClass:"line-numbers-wrapper"},[e("span",{staticClass:"line-number"},[s._v("1")]),e("br"),e("span",{staticClass:"line-number"},[s._v("2")]),e("br"),e("span",{staticClass:"line-number"},[s._v("3")]),e("br"),e("span",{staticClass:"line-number"},[s._v("4")]),e("br"),e("span",{staticClass:"line-number"},[s._v("5")]),e("br")])]),e("h4",{attrs:{id:"_3-redis安装"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_3-redis安装"}},[s._v("#")]),s._v(" 3.redis安装")]),s._v(" "),e("h5",{attrs:{id:"_1-拉取-redis-镜像"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_1-拉取-redis-镜像"}},[s._v("#")]),s._v(" 1.拉取 redis 镜像")]),s._v(" "),e("p",[s._v("拉取官方的最新版本的镜像 "),e("a",{attrs:{href:"https://redis.io/",target:"_blank",rel:"noopener noreferrer"}},[s._v("redis官网"),e("OutboundLink")],1),s._v(":")]),s._v(" "),e("div",{staticClass:"language- line-numbers-mode"},[e("pre",{pre:!0,attrs:{class:"language-text"}},[e("code",[s._v("docker pull redis:latest\n")])]),s._v(" "),e("div",{staticClass:"line-numbers-wrapper"},[e("span",{staticClass:"line-number"},[s._v("1")]),e("br")])]),e("h5",{attrs:{id:"_2-查看本地镜像-2"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_2-查看本地镜像-2"}},[s._v("#")]),s._v(" 2.查看本地镜像")]),s._v(" "),e("p",[s._v("查看是否已安装了 redis:")]),s._v(" "),e("div",{staticClass:"language- line-numbers-mode"},[e("pre",{pre:!0,attrs:{class:"language-text"}},[e("code",[s._v("docker images\n")])]),s._v(" "),e("div",{staticClass:"line-numbers-wrapper"},[e("span",{staticClass:"line-number"},[s._v("1")]),e("br")])]),e("p",[e("img",{attrs:{src:t(421),alt:"\t"}})]),s._v(" "),e("h5",{attrs:{id:"_3-运行容器-2"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_3-运行容器-2"}},[s._v("#")]),s._v(" 3.运行容器")]),s._v(" "),e("div",{staticClass:"language- line-numbers-mode"},[e("pre",{pre:!0,attrs:{class:"language-text"}},[e("code",[s._v("docker run -itd --name redis-test -p 6379:6379 redis\n")])]),s._v(" "),e("div",{staticClass:"line-numbers-wrapper"},[e("span",{staticClass:"line-number"},[s._v("1")]),e("br")])]),e("ul",[e("li",[e("strong",[s._v("-p 6379:6379")]),s._v(":映射容器服务的 6379 端口到宿主机的 6379 端口。外部可以直接通过宿主机ip:6379 访问到 Redis 的服务。")])]),s._v(" "),e("h5",{attrs:{id:"_5-安装成功-2"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_5-安装成功-2"}},[s._v("#")]),s._v(" 5.安装成功")]),s._v(" "),e("p",[s._v("查看是否安装成功")]),s._v(" "),e("div",{staticClass:"language- line-numbers-mode"},[e("pre",{pre:!0,attrs:{class:"language-text"}},[e("code",[s._v("docker ps\n")])]),s._v(" "),e("div",{staticClass:"line-numbers-wrapper"},[e("span",{staticClass:"line-number"},[s._v("1")]),e("br")])]),e("h3",{attrs:{id:"dockerfile镜像制作"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#dockerfile镜像制作"}},[s._v("#")]),s._v(" Dockerfile镜像制作")]),s._v(" "),e("div",{staticClass:"language-dockerfile line-numbers-mode"},[e("pre",{pre:!0,attrs:{class:"language-dockerfile"}},[e("code",[e("span",{pre:!0,attrs:{class:"token instruction"}},[e("span",{pre:!0,attrs:{class:"token keyword"}},[s._v("FROM")]),s._v(" anapsix/alpine-java:8_server-jre_unlimited")]),s._v("\n\n"),e("span",{pre:!0,attrs:{class:"token instruction"}},[e("span",{pre:!0,attrs:{class:"token keyword"}},[s._v("MAINTAINER")]),s._v(" ifyang@11.com")]),s._v("\n\n"),e("span",{pre:!0,attrs:{class:"token instruction"}},[e("span",{pre:!0,attrs:{class:"token keyword"}},[s._v("RUN")]),s._v(" ln -sf /usr/epqqmanage/deploy /etc/localtime")]),s._v("\n\n"),e("span",{pre:!0,attrs:{class:"token instruction"}},[e("span",{pre:!0,attrs:{class:"token keyword"}},[s._v("RUN")]),s._v(" mkdir -p /sys-gate")]),s._v("\n\n"),e("span",{pre:!0,attrs:{class:"token instruction"}},[e("span",{pre:!0,attrs:{class:"token keyword"}},[s._v("WORKDIR")]),s._v(" /sys-gate")]),s._v("\n\n"),e("span",{pre:!0,attrs:{class:"token instruction"}},[e("span",{pre:!0,attrs:{class:"token keyword"}},[s._v("EXPOSE")]),s._v(" 9002")]),s._v("\n\n"),e("span",{pre:!0,attrs:{class:"token instruction"}},[e("span",{pre:!0,attrs:{class:"token keyword"}},[s._v("ADD")]),s._v(" ./target/sys-gate.jar ./")]),s._v("\n\n"),e("span",{pre:!0,attrs:{class:"token instruction"}},[e("span",{pre:!0,attrs:{class:"token keyword"}},[s._v("CMD")]),s._v(" java -Djava.security.egd=file:/dev/./urandom -jar sys-gate.jar")]),s._v("\n\n")])]),s._v(" "),e("div",{staticClass:"line-numbers-wrapper"},[e("span",{staticClass:"line-number"},[s._v("1")]),e("br"),e("span",{staticClass:"line-number"},[s._v("2")]),e("br"),e("span",{staticClass:"line-number"},[s._v("3")]),e("br"),e("span",{staticClass:"line-number"},[s._v("4")]),e("br"),e("span",{staticClass:"line-number"},[s._v("5")]),e("br"),e("span",{staticClass:"line-number"},[s._v("6")]),e("br"),e("span",{staticClass:"line-number"},[s._v("7")]),e("br"),e("span",{staticClass:"line-number"},[s._v("8")]),e("br"),e("span",{staticClass:"line-number"},[s._v("9")]),e("br"),e("span",{staticClass:"line-number"},[s._v("10")]),e("br"),e("span",{staticClass:"line-number"},[s._v("11")]),e("br"),e("span",{staticClass:"line-number"},[s._v("12")]),e("br"),e("span",{staticClass:"line-number"},[s._v("13")]),e("br"),e("span",{staticClass:"line-number"},[s._v("14")]),e("br"),e("span",{staticClass:"line-number"},[s._v("15")]),e("br"),e("span",{staticClass:"line-number"},[s._v("16")]),e("br")])]),e("h3",{attrs:{id:"docker-compose镜像制作"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#docker-compose镜像制作"}},[s._v("#")]),s._v(" docker-compose镜像制作")]),s._v(" "),e("div",{staticClass:"language-java line-numbers-mode"},[e("pre",{pre:!0,attrs:{class:"language-java"}},[e("code",[s._v("version"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v(" "),e("span",{pre:!0,attrs:{class:"token char"}},[s._v("'2'")]),s._v("\nservices"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v("\n sys"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v("-")]),s._v("center"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v("\n build"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v("\n context"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[s._v(".")]),s._v("/sys"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v("-")]),s._v("center\n restart"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v(" always\n ports"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v("\n "),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v("-")]),s._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[s._v("8761")]),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),e("span",{pre:!0,attrs:{class:"token number"}},[s._v("8761")]),s._v("\n container_name"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v(" sys"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v("-")]),s._v("center\n hostname"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v(" sys"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v("-")]),s._v("center\n image"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v(" sys"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v("-")]),s._v("center\n\n sys"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v("-")]),s._v("gate"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v("\n build"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v("\n context"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[s._v(".")]),s._v("/sys"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v("-")]),s._v("gate\n restart"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v(" always\n ports"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v("\n "),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v("-")]),s._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[s._v("9002")]),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),e("span",{pre:!0,attrs:{class:"token number"}},[s._v("9002")]),s._v("\n container_name"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v(" sys"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v("-")]),s._v("gate\n hostname"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v(" sys"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v("-")]),s._v("gate\n image"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v(" sys"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v("-")]),s._v("gate\n\n sysmanage"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v("\n build"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v("\n context"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[s._v(".")]),s._v("/sysmanage\n restart"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v(" always\n ports"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v("\n "),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v("-")]),s._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[s._v("8012")]),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),e("span",{pre:!0,attrs:{class:"token number"}},[s._v("8012")]),s._v("\n container_name"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v(" sysmanage\n hostname"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v(" sysmanage\n image"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v(" sysmanage\n\n# bz"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v("-")]),s._v("basedata"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v("\n# build"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v("\n# context"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[s._v(".")]),s._v("/bz"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v("-")]),s._v("basedata\n# restart"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v(" always\n# ports"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v("\n# "),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v("-")]),s._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[s._v("8945")]),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),e("span",{pre:!0,attrs:{class:"token number"}},[s._v("8945")]),s._v("\n# container_name"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v(" bz"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v("-")]),s._v("basedata\n# hostname"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v(" bz"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v("-")]),s._v("basedata\n# image"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v(" bz"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v("-")]),s._v("basedata\n#\n# bz"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v("-")]),s._v("device"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v("\n# build"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v("\n# context"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[s._v(".")]),s._v("/bz"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v("-")]),s._v("device\n# restart"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v(" always\n# ports"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v("\n# "),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v("-")]),s._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[s._v("8924")]),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),e("span",{pre:!0,attrs:{class:"token number"}},[s._v("8924")]),s._v("\n# container_name"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v(" bz"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v("-")]),s._v("device\n# hostname"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v(" bz"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v("-")]),s._v("device\n# image"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v(" bz"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v("-")]),s._v("device\n#\n# bz"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v("-")]),s._v("maintain"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v("\n# build"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v("\n# context"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v(" "),e("span",{pre:!0,attrs:{class:"token punctuation"}},[s._v(".")]),s._v("/bz"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v("-")]),s._v("maintain\n# restart"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v(" always\n# ports"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v("\n# "),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v("-")]),s._v(" "),e("span",{pre:!0,attrs:{class:"token number"}},[s._v("8765")]),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),e("span",{pre:!0,attrs:{class:"token number"}},[s._v("8765")]),s._v("\n# container_name"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v(" bz"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v("-")]),s._v("maintain\n# hostname"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v(" bz"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v("-")]),s._v("maintain\n# image"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v(":")]),s._v(" bz"),e("span",{pre:!0,attrs:{class:"token operator"}},[s._v("-")]),s._v("maintain\n\n")])]),s._v(" "),e("div",{staticClass:"line-numbers-wrapper"},[e("span",{staticClass:"line-number"},[s._v("1")]),e("br"),e("span",{staticClass:"line-number"},[s._v("2")]),e("br"),e("span",{staticClass:"line-number"},[s._v("3")]),e("br"),e("span",{staticClass:"line-number"},[s._v("4")]),e("br"),e("span",{staticClass:"line-number"},[s._v("5")]),e("br"),e("span",{staticClass:"line-number"},[s._v("6")]),e("br"),e("span",{staticClass:"line-number"},[s._v("7")]),e("br"),e("span",{staticClass:"line-number"},[s._v("8")]),e("br"),e("span",{staticClass:"line-number"},[s._v("9")]),e("br"),e("span",{staticClass:"line-number"},[s._v("10")]),e("br"),e("span",{staticClass:"line-number"},[s._v("11")]),e("br"),e("span",{staticClass:"line-number"},[s._v("12")]),e("br"),e("span",{staticClass:"line-number"},[s._v("13")]),e("br"),e("span",{staticClass:"line-number"},[s._v("14")]),e("br"),e("span",{staticClass:"line-number"},[s._v("15")]),e("br"),e("span",{staticClass:"line-number"},[s._v("16")]),e("br"),e("span",{staticClass:"line-number"},[s._v("17")]),e("br"),e("span",{staticClass:"line-number"},[s._v("18")]),e("br"),e("span",{staticClass:"line-number"},[s._v("19")]),e("br"),e("span",{staticClass:"line-number"},[s._v("20")]),e("br"),e("span",{staticClass:"line-number"},[s._v("21")]),e("br"),e("span",{staticClass:"line-number"},[s._v("22")]),e("br"),e("span",{staticClass:"line-number"},[s._v("23")]),e("br"),e("span",{staticClass:"line-number"},[s._v("24")]),e("br"),e("span",{staticClass:"line-number"},[s._v("25")]),e("br"),e("span",{staticClass:"line-number"},[s._v("26")]),e("br"),e("span",{staticClass:"line-number"},[s._v("27")]),e("br"),e("span",{staticClass:"line-number"},[s._v("28")]),e("br"),e("span",{staticClass:"line-number"},[s._v("29")]),e("br"),e("span",{staticClass:"line-number"},[s._v("30")]),e("br"),e("span",{staticClass:"line-number"},[s._v("31")]),e("br"),e("span",{staticClass:"line-number"},[s._v("32")]),e("br"),e("span",{staticClass:"line-number"},[s._v("33")]),e("br"),e("span",{staticClass:"line-number"},[s._v("34")]),e("br"),e("span",{staticClass:"line-number"},[s._v("35")]),e("br"),e("span",{staticClass:"line-number"},[s._v("36")]),e("br"),e("span",{staticClass:"line-number"},[s._v("37")]),e("br"),e("span",{staticClass:"line-number"},[s._v("38")]),e("br"),e("span",{staticClass:"line-number"},[s._v("39")]),e("br"),e("span",{staticClass:"line-number"},[s._v("40")]),e("br"),e("span",{staticClass:"line-number"},[s._v("41")]),e("br"),e("span",{staticClass:"line-number"},[s._v("42")]),e("br"),e("span",{staticClass:"line-number"},[s._v("43")]),e("br"),e("span",{staticClass:"line-number"},[s._v("44")]),e("br"),e("span",{staticClass:"line-number"},[s._v("45")]),e("br"),e("span",{staticClass:"line-number"},[s._v("46")]),e("br"),e("span",{staticClass:"line-number"},[s._v("47")]),e("br"),e("span",{staticClass:"line-number"},[s._v("48")]),e("br"),e("span",{staticClass:"line-number"},[s._v("49")]),e("br"),e("span",{staticClass:"line-number"},[s._v("50")]),e("br"),e("span",{staticClass:"line-number"},[s._v("51")]),e("br"),e("span",{staticClass:"line-number"},[s._v("52")]),e("br"),e("span",{staticClass:"line-number"},[s._v("53")]),e("br"),e("span",{staticClass:"line-number"},[s._v("54")]),e("br"),e("span",{staticClass:"line-number"},[s._v("55")]),e("br"),e("span",{staticClass:"line-number"},[s._v("56")]),e("br"),e("span",{staticClass:"line-number"},[s._v("57")]),e("br"),e("span",{staticClass:"line-number"},[s._v("58")]),e("br"),e("span",{staticClass:"line-number"},[s._v("59")]),e("br"),e("span",{staticClass:"line-number"},[s._v("60")]),e("br"),e("span",{staticClass:"line-number"},[s._v("61")]),e("br"),e("span",{staticClass:"line-number"},[s._v("62")]),e("br")])]),e("h3",{attrs:{id:"docker仓库搭建与使用"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#docker仓库搭建与使用"}},[s._v("#")]),s._v(" docker仓库搭建与使用")]),s._v(" "),e("h5",{attrs:{id:"_1-仓库搭建"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_1-仓库搭建"}},[s._v("#")]),s._v(" 1.仓库搭建")]),s._v(" "),e("div",{staticClass:"language- line-numbers-mode"},[e("pre",{pre:!0,attrs:{class:"language-text"}},[e("code",[s._v("# 1.获取私有仓库镜像\ndocker pull registry:2\n\n# 2.运行镜像仓库\ndocker run -d -v /opt/registry:/var/lib/registry -p 5000:5000 --name myregistry registry:2\n\n# 3.验证仓库是否运行\nhttp://127.0.0.1:5000/v2\n\n")])]),s._v(" "),e("div",{staticClass:"line-numbers-wrapper"},[e("span",{staticClass:"line-number"},[s._v("1")]),e("br"),e("span",{staticClass:"line-number"},[s._v("2")]),e("br"),e("span",{staticClass:"line-number"},[s._v("3")]),e("br"),e("span",{staticClass:"line-number"},[s._v("4")]),e("br"),e("span",{staticClass:"line-number"},[s._v("5")]),e("br"),e("span",{staticClass:"line-number"},[s._v("6")]),e("br"),e("span",{staticClass:"line-number"},[s._v("7")]),e("br"),e("span",{staticClass:"line-number"},[s._v("8")]),e("br"),e("span",{staticClass:"line-number"},[s._v("9")]),e("br")])]),e("h5",{attrs:{id:"_2-仓库使用"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_2-仓库使用"}},[s._v("#")]),s._v(" 2.仓库使用")]),s._v(" "),e("div",{staticClass:"language- line-numbers-mode"},[e("pre",{pre:!0,attrs:{class:"language-text"}},[e("code",[s._v("# 通过docker tag将镜像标志为要推送到私有仓库\n\ndocker tag mysql:latest 47.111.253.18:5000/mysql:latest\n\n# 通过 docker push 命令将 mysql 镜像 push到私有仓库中\ndocker push 47.111.253.18:5000/mysql:latest\n\n# 查看上传得镜像\nhttp://47.111.253.18:5000/v2/_catalog \n\n# 从私有仓库获取应用\ndocker pull 47.111.253.18:5000/mysql:latest\n\n")])]),s._v(" "),e("div",{staticClass:"line-numbers-wrapper"},[e("span",{staticClass:"line-number"},[s._v("1")]),e("br"),e("span",{staticClass:"line-number"},[s._v("2")]),e("br"),e("span",{staticClass:"line-number"},[s._v("3")]),e("br"),e("span",{staticClass:"line-number"},[s._v("4")]),e("br"),e("span",{staticClass:"line-number"},[s._v("5")]),e("br"),e("span",{staticClass:"line-number"},[s._v("6")]),e("br"),e("span",{staticClass:"line-number"},[s._v("7")]),e("br"),e("span",{staticClass:"line-number"},[s._v("8")]),e("br"),e("span",{staticClass:"line-number"},[s._v("9")]),e("br"),e("span",{staticClass:"line-number"},[s._v("10")]),e("br"),e("span",{staticClass:"line-number"},[s._v("11")]),e("br"),e("span",{staticClass:"line-number"},[s._v("12")]),e("br"),e("span",{staticClass:"line-number"},[s._v("13")]),e("br")])]),e("h5",{attrs:{id:"_3-harbor管理器"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#_3-harbor管理器"}},[s._v("#")]),s._v(" 3.harbor管理器")]),s._v(" "),e("div",{staticClass:"language- line-numbers-mode"},[e("pre",{pre:!0,attrs:{class:"language-text"}},[e("code",[s._v("待完善\n")])]),s._v(" "),e("div",{staticClass:"line-numbers-wrapper"},[e("span",{staticClass:"line-number"},[s._v("1")]),e("br")])]),e("h5",{attrs:{id:"参考文档地址"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#参考文档地址"}},[s._v("#")]),s._v(" 参考文档地址")]),s._v(" "),e("p",[s._v("docker搭建 https://www.cnblogs.com/huanchupkblog/p/10843800.html")]),s._v(" "),e("h4",{attrs:{id:""}},[e("a",{staticClass:"header-anchor",attrs:{href:"#"}},[s._v("#")])]),s._v(" "),e("h2",{attrs:{id:"postgres搭建"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#postgres搭建"}},[s._v("#")]),s._v(" postgres搭建")]),s._v(" "),e("p",[s._v("postgres搭建参考"),e("a",{attrs:{href:"https://www.postgresql.org/",target:"_blank",rel:"noopener noreferrer"}},[s._v("官方文档"),e("OutboundLink")],1)]),s._v(" "),e("p",[s._v("其它参考文档:https://www.cnblogs.com/mingfan/p/12332506.html")]),s._v(" "),e("p",[s._v("postgres设置参考文档:https://www.digitalocean.com/community/tutorials/how-to-install-and-use-postgresql-on-ubuntu-16-04")]),s._v(" "),e("p",[s._v("https://blog.csdn.net/weixin_42404521/article/details/115870366")]),s._v(" "),e("p",[s._v("拉取最新postgres")]),s._v(" "),e("p",[s._v("docker pull postgres:latest")]),s._v(" "),e("p",[s._v("docker中启动")]),s._v(" "),e("div",{staticClass:"language- line-numbers-mode"},[e("pre",{pre:!0,attrs:{class:"language-text"}},[e("code",[s._v("docker run --name dkpostgres -e POSTGRES_PASSWORD=elec2021 -p 5432:5432 -v pgdata:/var/lib/postgresql/data -d 47.111.253.18:5000/dkpostgres:latest\n")])]),s._v(" "),e("div",{staticClass:"line-numbers-wrapper"},[e("span",{staticClass:"line-number"},[s._v("1")]),e("br")])])])}),[],!1,null,null,null);a.default=r.exports}}]);
@@ -1 +0,0 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[4],{390:function(t,e,n){},424:function(t,e,n){"use strict";n(390)},446:function(t,e,n){"use strict";n.r(e);var i={functional:!0,props:{type:{type:String,default:"tip"},text:String,vertical:{type:String,default:"top"}},render:function(t,e){var n=e.props,i=e.slots;return t("span",{class:["badge",n.type],style:{verticalAlign:n.vertical}},n.text||i().default)}},r=(n(424),n(62)),p=Object(r.a)(i,void 0,void 0,!1,null,"15b7b770",null);e.default=p.exports}}]);
@@ -1 +0,0 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[5],{391:function(t,e,a){},425:function(t,e,a){"use strict";a(391)},429:function(t,e,a){"use strict";a.r(e);var n={name:"CodeBlock",props:{title:{type:String,required:!0},active:{type:Boolean,default:!1}},mounted:function(){this.$parent&&this.$parent.loadTabs&&this.$parent.loadTabs()}},i=(a(425),a(62)),s=Object(i.a)(n,(function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"theme-code-block",class:{"theme-code-block__active":this.active}},[this._t("default")],2)}),[],!1,null,"759a7d02",null);e.default=s.exports}}]);
@@ -1 +0,0 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[6],{392:function(e,t,a){},426:function(e,t,a){"use strict";a(392)},430:function(e,t,a){"use strict";a.r(t);a(90),a(41),a(10),a(120),a(121);var o={name:"CodeGroup",data:function(){return{codeTabs:[],activeCodeTabIndex:-1}},watch:{activeCodeTabIndex:function(e){this.activateCodeTab(e)}},mounted:function(){this.loadTabs()},methods:{changeCodeTab:function(e){this.activeCodeTabIndex=e},loadTabs:function(){var e=this;this.codeTabs=(this.$slots.default||[]).filter((function(e){return Boolean(e.componentOptions)})).map((function(t,a){return""===t.componentOptions.propsData.active&&(e.activeCodeTabIndex=a),{title:t.componentOptions.propsData.title,elm:t.elm}})),-1===this.activeCodeTabIndex&&this.codeTabs.length>0&&(this.activeCodeTabIndex=0),this.activateCodeTab(0)},activateCodeTab:function(e){this.codeTabs.forEach((function(e){e.elm&&e.elm.classList.remove("theme-code-block__active")})),this.codeTabs[e].elm&&this.codeTabs[e].elm.classList.add("theme-code-block__active")}}},n=(a(426),a(62)),c=Object(n.a)(o,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("ClientOnly",[a("div",{staticClass:"theme-code-group"},[a("div",{staticClass:"theme-code-group__nav"},[a("ul",{staticClass:"theme-code-group__ul"},e._l(e.codeTabs,(function(t,o){return a("li",{key:t.title,staticClass:"theme-code-group__li"},[a("button",{staticClass:"theme-code-group__nav-tab",class:{"theme-code-group__nav-tab-active":o===e.activeCodeTabIndex},on:{click:function(t){return e.changeCodeTab(o)}}},[e._v("\n "+e._s(t.title)+"\n ")])])})),0)]),e._v(" "),e._t("default"),e._v(" "),e.codeTabs.length<1?a("pre",{staticClass:"pre-blank"},[e._v("// Make sure to add code blocks to your code group")]):e._e()],2)])}),[],!1,null,"deefee04",null);t.default=c.exports}}]);
@@ -1 +0,0 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[7],{423:function(s,a,n){s.exports=n.p+"assets/img/server-structure.6e0aa81e.png"},445:function(s,a,n){"use strict";n.r(a);var t=n(62),e=Object(t.a)({},(function(){var s=this,a=s.$createElement,t=s._self._c||a;return t("ContentSlotsDistributor",{attrs:{"slot-key":s.$parent.slotKey}},[t("h1",{attrs:{id:"chengyu-cloud开发文档"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#chengyu-cloud开发文档"}},[s._v("#")]),s._v(" ChengYu-cloud开发文档")]),s._v(" "),t("p",[s._v("工程描述(待完善)")]),s._v(" "),t("p",[s._v("1.技术架构文档(流程图、拓扑图 )")]),s._v(" "),t("p",[s._v("2.接口梳理")]),s._v(" "),t("p",[s._v("3.服务搭建")]),s._v(" "),t("p",[s._v("4.服务迁移")]),s._v(" "),t("h2",{attrs:{id:"技术体系"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#技术体系"}},[s._v("#")]),s._v(" 技术体系")]),s._v(" "),t("ul",[t("li",[s._v("1、Nacos 服务注册和发现")]),s._v(" "),t("li",[s._v("2、Nacos 统一配置中心")]),s._v(" "),t("li",[s._v("3、熔断降级限流 hystrix")]),s._v(" "),t("li",[s._v("4、SpringCloud Gateway")]),s._v(" "),t("li",[s._v("5、auth 鉴权中心")]),s._v(" "),t("li",[s._v("6、IM服务RabbitMQ")]),s._v(" "),t("li",[s._v("7、Spring Boot Admin服务监控")]),s._v(" "),t("li",[s._v("8、链路跟踪 SkyWalking")]),s._v(" "),t("li",[s._v("9、支持 jenkins、docker-compose")])]),s._v(" "),t("h2",{attrs:{id:"微服务架构图"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#微服务架构图"}},[s._v("#")]),s._v(" 微服务架构图")]),s._v(" "),t("p",[t("img",{attrs:{src:n(423),alt:"server-structure"}})]),s._v(" "),t("h2",{attrs:{id:"工程相关"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#工程相关"}},[s._v("#")]),s._v(" 工程相关")]),s._v(" "),t("h3",{attrs:{id:"项目结构"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#项目结构"}},[s._v("#")]),s._v(" 项目结构")]),s._v(" "),t("div",{staticClass:"language- line-numbers-mode"},[t("pre",{pre:!0,attrs:{class:"language-text"}},[t("code",[s._v("xyleed-cloud\n\n├──\txyleed-basedata ------ 基础数据 [10003]\n\n├──\t xyleed-basedata-api\n\n├──\t com.xyleed.basedata.api\n\n├──\t feign ------ 对外Api方法\n\n├──\t\t\t\tparam\t\t\t\t ------ 参数\n\n├──\t\t\t\tenums ------ 枚举\n\n├──\t xyleed-basedata-server\n\n├──\t com.xyleed.basedata.server\n\n├──\t\t\t此处按照我们以前的项目结构\n\n├── xyleed-admin ------ 业务模块-系统管理 [10002]\n\n├── xyleed-gateway ------ 统一接入平台网关 [10000]\n\n├──\txyleed-common ------ 框架公共模块\n\n├──\txyleed-im ------ 消息服务模块\n\n├──\t\txyleed-im-app \t\t\t------ 移动端[10005]\n\n├──\t\txyleed-im-web \t\t\t------ 网页端[10006]\n\n├──\txyleed-resource ------ 资源服务(包括文件服务)[10004]\n\n├── xyleed-workflow ------ 工作流模块 [10007]\n\n├── xyleed-auth ------ 鉴权模块 [10001]\n\n├── xyleed-search\t\t\t\t------ 全文检索 [10008]\n\n├──\txyleed-scheduler\t\t\t\t------ 任务调度 [10009]\n\n\n\n")])]),s._v(" "),t("div",{staticClass:"line-numbers-wrapper"},[t("span",{staticClass:"line-number"},[s._v("1")]),t("br"),t("span",{staticClass:"line-number"},[s._v("2")]),t("br"),t("span",{staticClass:"line-number"},[s._v("3")]),t("br"),t("span",{staticClass:"line-number"},[s._v("4")]),t("br"),t("span",{staticClass:"line-number"},[s._v("5")]),t("br"),t("span",{staticClass:"line-number"},[s._v("6")]),t("br"),t("span",{staticClass:"line-number"},[s._v("7")]),t("br"),t("span",{staticClass:"line-number"},[s._v("8")]),t("br"),t("span",{staticClass:"line-number"},[s._v("9")]),t("br"),t("span",{staticClass:"line-number"},[s._v("10")]),t("br"),t("span",{staticClass:"line-number"},[s._v("11")]),t("br"),t("span",{staticClass:"line-number"},[s._v("12")]),t("br"),t("span",{staticClass:"line-number"},[s._v("13")]),t("br"),t("span",{staticClass:"line-number"},[s._v("14")]),t("br"),t("span",{staticClass:"line-number"},[s._v("15")]),t("br"),t("span",{staticClass:"line-number"},[s._v("16")]),t("br"),t("span",{staticClass:"line-number"},[s._v("17")]),t("br"),t("span",{staticClass:"line-number"},[s._v("18")]),t("br"),t("span",{staticClass:"line-number"},[s._v("19")]),t("br"),t("span",{staticClass:"line-number"},[s._v("20")]),t("br"),t("span",{staticClass:"line-number"},[s._v("21")]),t("br"),t("span",{staticClass:"line-number"},[s._v("22")]),t("br"),t("span",{staticClass:"line-number"},[s._v("23")]),t("br"),t("span",{staticClass:"line-number"},[s._v("24")]),t("br"),t("span",{staticClass:"line-number"},[s._v("25")]),t("br"),t("span",{staticClass:"line-number"},[s._v("26")]),t("br"),t("span",{staticClass:"line-number"},[s._v("27")]),t("br"),t("span",{staticClass:"line-number"},[s._v("28")]),t("br"),t("span",{staticClass:"line-number"},[s._v("29")]),t("br"),t("span",{staticClass:"line-number"},[s._v("30")]),t("br"),t("span",{staticClass:"line-number"},[s._v("31")]),t("br"),t("span",{staticClass:"line-number"},[s._v("32")]),t("br"),t("span",{staticClass:"line-number"},[s._v("33")]),t("br"),t("span",{staticClass:"line-number"},[s._v("34")]),t("br"),t("span",{staticClass:"line-number"},[s._v("35")]),t("br"),t("span",{staticClass:"line-number"},[s._v("36")]),t("br"),t("span",{staticClass:"line-number"},[s._v("37")]),t("br"),t("span",{staticClass:"line-number"},[s._v("38")]),t("br"),t("span",{staticClass:"line-number"},[s._v("39")]),t("br"),t("span",{staticClass:"line-number"},[s._v("40")]),t("br"),t("span",{staticClass:"line-number"},[s._v("41")]),t("br"),t("span",{staticClass:"line-number"},[s._v("42")]),t("br"),t("span",{staticClass:"line-number"},[s._v("43")]),t("br"),t("span",{staticClass:"line-number"},[s._v("44")]),t("br")])])])}),[],!1,null,null,null);a.default=e.exports}}]);
@@ -1 +0,0 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[8],{417:function(t,s,a){t.exports=a.p+"assets/img/gateway.98d6c8ec.jpg"},434:function(t,s,a){"use strict";a.r(s);var n=a(62),r=Object(n.a)({},(function(){var t=this,s=t.$createElement,n=t._self._c||s;return n("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[n("h1",{attrs:{id:"gateway路由配置使用说明"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#gateway路由配置使用说明"}},[t._v("#")]),t._v(" gateway路由配置使用说明")]),t._v(" "),n("h3",{attrs:{id:"gateway是什么"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#gateway是什么"}},[t._v("#")]),t._v(" gateway是什么?")]),t._v(" "),n("p",[t._v("该项目提供了一个库,用于在 Spring WebFlux 之上构建 API 网关。Spring Cloud Gateway 旨在提供一种简单而有效的方式来路由到 API,并为它们提供横切关注点,例如:安全性、监控/指标和弹性。")]),t._v(" "),n("h3",{attrs:{id:"特点"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#特点"}},[t._v("#")]),t._v(" 特点")]),t._v(" "),n("p",[t._v("基于 Spring Framework 5、Project Reactor 和 Spring Boot 2.0 构建。\n能够匹配任何请求属性的路由。\n谓词和过滤器特定于路由。\n断路器集成。\nSpring Cloud Discovery客户端集成。\n易于编写谓词和过滤器。\n请求速率限制。\n路径重写。")]),t._v(" "),n("hr"),t._v(" "),n("p",[t._v("ChengYu-cloud路由配置")]),t._v(" "),n("div",{staticClass:"language-json line-numbers-mode"},[n("pre",{pre:!0,attrs:{class:"language-json"}},[n("code",[n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),n("span",{pre:!0,attrs:{class:"token property"}},[t._v('"id"')]),n("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),n("span",{pre:!0,attrs:{class:"token string"}},[t._v('"mqsf-externalService"')]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),n("span",{pre:!0,attrs:{class:"token property"}},[t._v('"order"')]),n("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),n("span",{pre:!0,attrs:{class:"token number"}},[t._v("0")]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),n("span",{pre:!0,attrs:{class:"token property"}},[t._v('"predicates"')]),n("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),n("span",{pre:!0,attrs:{class:"token property"}},[t._v('"name"')]),n("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),n("span",{pre:!0,attrs:{class:"token string"}},[t._v('"Path"')]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),n("span",{pre:!0,attrs:{class:"token property"}},[t._v('"args"')]),n("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),n("span",{pre:!0,attrs:{class:"token property"}},[t._v('"pattern"')]),n("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),n("span",{pre:!0,attrs:{class:"token string"}},[t._v('"/mqsf-externalService/**"')]),t._v(" "),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n "),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),n("span",{pre:!0,attrs:{class:"token property"}},[t._v('"filters"')]),n("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("[")]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v("\n "),n("span",{pre:!0,attrs:{class:"token property"}},[t._v('"uri"')]),n("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),n("span",{pre:!0,attrs:{class:"token string"}},[t._v('"lb://mqsf-externalService"')]),t._v("\n "),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),n("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("]")]),t._v("\n")])]),t._v(" "),n("div",{staticClass:"line-numbers-wrapper"},[n("span",{staticClass:"line-number"},[t._v("1")]),n("br"),n("span",{staticClass:"line-number"},[t._v("2")]),n("br"),n("span",{staticClass:"line-number"},[t._v("3")]),n("br"),n("span",{staticClass:"line-number"},[t._v("4")]),n("br"),n("span",{staticClass:"line-number"},[t._v("5")]),n("br"),n("span",{staticClass:"line-number"},[t._v("6")]),n("br"),n("span",{staticClass:"line-number"},[t._v("7")]),n("br"),n("span",{staticClass:"line-number"},[t._v("8")]),n("br"),n("span",{staticClass:"line-number"},[t._v("9")]),n("br"),n("span",{staticClass:"line-number"},[t._v("10")]),n("br"),n("span",{staticClass:"line-number"},[t._v("11")]),n("br"),n("span",{staticClass:"line-number"},[t._v("12")]),n("br")])]),n("p",[t._v("Nacos中动态配置")]),t._v(" "),n("p",[n("img",{attrs:{src:a(417),alt:"\t"}})])])}),[],!1,null,null,null);s.default=r.exports}}]);
@@ -1 +0,0 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[9],{422:function(t,r,e){t.exports=e.p+"assets/img/rabbitmq.50b12be7.jpg"},440:function(t,r,e){"use strict";e.r(r);var a=e(62),n=Object(a.a)({},(function(){var t=this,r=t.$createElement,a=t._self._c||r;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"rabbitmq集成说明"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#rabbitmq集成说明"}},[t._v("#")]),t._v(" RabbitMq集成说明")]),t._v(" "),a("p",[a("strong",[t._v("RabbitMQ")]),t._v("是实现了高级消息队列协议(AMQP)的开源消息代理软件(亦称面向消息的中间件)。RabbitMQ服务器是用"),a("a",{attrs:{href:"https://baike.baidu.com/item/Erlang",target:"_blank",rel:"noopener noreferrer"}},[t._v("Erlang"),a("OutboundLink")],1),t._v("语言编写的,而群集和故障转移是构建在"),a("a",{attrs:{href:"https://baike.baidu.com/item/%E5%BC%80%E6%94%BE%E7%94%B5%E4%BF%A1%E5%B9%B3%E5%8F%B0",target:"_blank",rel:"noopener noreferrer"}},[t._v("开放电信平台"),a("OutboundLink")],1),t._v("框架上的。所有主要的编程语言均有与代理接口通讯的客户端"),a("a",{attrs:{href:"https://baike.baidu.com/item/%E5%BA%93",target:"_blank",rel:"noopener noreferrer"}},[t._v("库"),a("OutboundLink")],1),t._v("。")]),t._v(" "),a("p",[t._v("更多请查阅rabbitmq"),a("a",{attrs:{href:"https://www.rabbitmq.com/",target:"_blank",rel:"noopener noreferrer"}},[t._v("官方文档"),a("OutboundLink")],1)]),t._v(" "),a("hr"),t._v(" "),a("p",[t._v("#rabbitmq服务访问(guest/guest)")]),t._v(" "),a("p",[t._v("http://127.0.0.1:15672")]),t._v(" "),a("p",[t._v("guest/guest")]),t._v(" "),a("p",[a("img",{attrs:{src:e(422),alt:"\t"}})])])}),[],!1,null,null,null);r.default=n.exports}}]);