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,58 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en-US">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width,initial-scale=1">
6
- <title>默认配置 | ChengYu-cloud中文文档</title>
7
- <meta name="generator" content="VuePress 1.9.7">
8
-
9
- <meta name="description" content="极简、高效、配置简单">
10
-
11
- <link rel="preload" href="/assets/css/0.styles.7cfabf05.css" as="style"><link rel="preload" href="/assets/js/app.0be82e56.js" as="script"><link rel="preload" href="/assets/js/2.2668fa1b.js" as="script"><link rel="preload" href="/assets/js/13.d9c8c7a9.js" as="script"><link rel="prefetch" href="/assets/js/10.285f55d1.js"><link rel="prefetch" href="/assets/js/11.decff412.js"><link rel="prefetch" href="/assets/js/12.b9ed6e21.js"><link rel="prefetch" href="/assets/js/14.6495a0e6.js"><link rel="prefetch" href="/assets/js/15.70d64d1a.js"><link rel="prefetch" href="/assets/js/16.a93c018c.js"><link rel="prefetch" href="/assets/js/17.ed91eb16.js"><link rel="prefetch" href="/assets/js/18.d07cd593.js"><link rel="prefetch" href="/assets/js/19.4b8a0f22.js"><link rel="prefetch" href="/assets/js/20.52de9326.js"><link rel="prefetch" href="/assets/js/21.2293a5ca.js"><link rel="prefetch" href="/assets/js/3.fd22fded.js"><link rel="prefetch" href="/assets/js/4.ad26b2fa.js"><link rel="prefetch" href="/assets/js/5.a1c97bcb.js"><link rel="prefetch" href="/assets/js/6.32f67120.js"><link rel="prefetch" href="/assets/js/7.99161716.js"><link rel="prefetch" href="/assets/js/8.a0d65864.js"><link rel="prefetch" href="/assets/js/9.2d06e692.js">
12
- <link rel="stylesheet" href="/assets/css/0.styles.7cfabf05.css">
13
- </head>
14
- <body>
15
- <div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/" class="home-link router-link-active"><!----> <span class="site-name">ChengYu-cloud中文文档</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <!----></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><!----> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>配置指南</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/config/" aria-current="page" class="sidebar-link">参数说明</a></li><li><a href="/config/config_list.html" aria-current="page" class="active sidebar-link">默认配置</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="默认配置"><a href="#默认配置" class="header-anchor">#</a> 默认配置</h1> <p>你可以修改这些配置项,这些都是默认的,关于每个参数,我们会详细说明</p> <div class="language-javascript line-numbers-mode"><pre class="language-javascript"><code><span class="token punctuation">{</span>
16
- <span class="token literal-property property">mode</span><span class="token operator">:</span> <span class="token string">'edit'</span><span class="token punctuation">,</span>
17
- <span class="token literal-property property">showToolbar</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
18
- <span class="token literal-property property">showGrid</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
19
- <span class="token literal-property property">showContextmenu</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
20
- <span class="token literal-property property">showBottomBar</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span>
21
- <span class="token literal-property property">view</span><span class="token operator">:</span> <span class="token punctuation">{</span>
22
- <span class="token function-variable function">height</span><span class="token operator">:</span> <span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token operator">=&gt;</span> document<span class="token punctuation">.</span>documentElement<span class="token punctuation">.</span>clientHeight<span class="token punctuation">,</span>
23
- <span class="token function-variable function">width</span><span class="token operator">:</span> <span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token operator">=&gt;</span> document<span class="token punctuation">.</span>documentElement<span class="token punctuation">.</span>clientWidth<span class="token punctuation">,</span>
24
- <span class="token punctuation">}</span><span class="token punctuation">,</span>
25
- <span class="token literal-property property">row</span><span class="token operator">:</span> <span class="token punctuation">{</span>
26
- <span class="token literal-property property">len</span><span class="token operator">:</span> <span class="token number">100</span><span class="token punctuation">,</span>
27
- <span class="token literal-property property">height</span><span class="token operator">:</span> <span class="token number">25</span><span class="token punctuation">,</span>
28
- <span class="token punctuation">}</span><span class="token punctuation">,</span>
29
- <span class="token literal-property property">col</span><span class="token operator">:</span> <span class="token punctuation">{</span>
30
- <span class="token literal-property property">len</span><span class="token operator">:</span> <span class="token number">26</span><span class="token punctuation">,</span>
31
- <span class="token literal-property property">width</span><span class="token operator">:</span> <span class="token number">100</span><span class="token punctuation">,</span>
32
- <span class="token literal-property property">indexWidth</span><span class="token operator">:</span> <span class="token number">60</span><span class="token punctuation">,</span>
33
- <span class="token literal-property property">minWidth</span><span class="token operator">:</span> <span class="token number">60</span><span class="token punctuation">,</span>
34
- <span class="token punctuation">}</span><span class="token punctuation">,</span>
35
- <span class="token literal-property property">style</span><span class="token operator">:</span> <span class="token punctuation">{</span>
36
- <span class="token literal-property property">bgcolor</span><span class="token operator">:</span> <span class="token string">'#ffffff'</span><span class="token punctuation">,</span>
37
- <span class="token literal-property property">align</span><span class="token operator">:</span> <span class="token string">'left'</span><span class="token punctuation">,</span>
38
- <span class="token literal-property property">valign</span><span class="token operator">:</span> <span class="token string">'middle'</span><span class="token punctuation">,</span>
39
- <span class="token literal-property property">textwrap</span><span class="token operator">:</span> <span class="token boolean">false</span><span class="token punctuation">,</span>
40
- <span class="token literal-property property">strike</span><span class="token operator">:</span> <span class="token boolean">false</span><span class="token punctuation">,</span>
41
- <span class="token literal-property property">underline</span><span class="token operator">:</span> <span class="token boolean">false</span><span class="token punctuation">,</span>
42
- <span class="token literal-property property">color</span><span class="token operator">:</span> <span class="token string">'#0a0a0a'</span><span class="token punctuation">,</span>
43
- <span class="token literal-property property">font</span><span class="token operator">:</span> <span class="token punctuation">{</span>
44
- <span class="token literal-property property">name</span><span class="token operator">:</span> <span class="token string">'Helvetica'</span><span class="token punctuation">,</span>
45
- <span class="token literal-property property">size</span><span class="token operator">:</span> <span class="token number">10</span><span class="token punctuation">,</span>
46
- <span class="token literal-property property">bold</span><span class="token operator">:</span> <span class="token boolean">false</span><span class="token punctuation">,</span>
47
- <span class="token literal-property property">italic</span><span class="token operator">:</span> <span class="token boolean">false</span><span class="token punctuation">,</span>
48
- <span class="token punctuation">}</span><span class="token punctuation">,</span>
49
- <span class="token punctuation">}</span><span class="token punctuation">,</span>
50
- <span class="token punctuation">}</span>
51
- </code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br><span class="line-number">12</span><br><span class="line-number">13</span><br><span class="line-number">14</span><br><span class="line-number">15</span><br><span class="line-number">16</span><br><span class="line-number">17</span><br><span class="line-number">18</span><br><span class="line-number">19</span><br><span class="line-number">20</span><br><span class="line-number">21</span><br><span class="line-number">22</span><br><span class="line-number">23</span><br><span class="line-number">24</span><br><span class="line-number">25</span><br><span class="line-number">26</span><br><span class="line-number">27</span><br><span class="line-number">28</span><br><span class="line-number">29</span><br><span class="line-number">30</span><br><span class="line-number">31</span><br><span class="line-number">32</span><br><span class="line-number">33</span><br><span class="line-number">34</span><br><span class="line-number">35</span><br><span class="line-number">36</span><br></div></div></div> <footer class="page-edit"><!----> <!----></footer> <div class="page-nav"><p class="inner"><span class="prev">
52
-
53
- <a href="/config/" class="prev router-link-active">
54
- 参数说明
55
- </a></span> <!----></p></div> </main></div><div class="global-ui"></div></div>
56
- <script src="/assets/js/app.0be82e56.js" defer></script><script src="/assets/js/2.2668fa1b.js" defer></script><script src="/assets/js/13.d9c8c7a9.js" defer></script>
57
- </body>
58
- </html>
@@ -1,69 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en-US">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width,initial-scale=1">
6
- <title>参数说明 | ChengYu-cloud中文文档</title>
7
- <meta name="generator" content="VuePress 1.9.7">
8
-
9
- <meta name="description" content="极简、高效、配置简单">
10
-
11
- <link rel="preload" href="/assets/css/0.styles.7cfabf05.css" as="style"><link rel="preload" href="/assets/js/app.0be82e56.js" as="script"><link rel="preload" href="/assets/js/2.2668fa1b.js" as="script"><link rel="preload" href="/assets/js/12.b9ed6e21.js" as="script"><link rel="prefetch" href="/assets/js/10.285f55d1.js"><link rel="prefetch" href="/assets/js/11.decff412.js"><link rel="prefetch" href="/assets/js/13.d9c8c7a9.js"><link rel="prefetch" href="/assets/js/14.6495a0e6.js"><link rel="prefetch" href="/assets/js/15.70d64d1a.js"><link rel="prefetch" href="/assets/js/16.a93c018c.js"><link rel="prefetch" href="/assets/js/17.ed91eb16.js"><link rel="prefetch" href="/assets/js/18.d07cd593.js"><link rel="prefetch" href="/assets/js/19.4b8a0f22.js"><link rel="prefetch" href="/assets/js/20.52de9326.js"><link rel="prefetch" href="/assets/js/21.2293a5ca.js"><link rel="prefetch" href="/assets/js/3.fd22fded.js"><link rel="prefetch" href="/assets/js/4.ad26b2fa.js"><link rel="prefetch" href="/assets/js/5.a1c97bcb.js"><link rel="prefetch" href="/assets/js/6.32f67120.js"><link rel="prefetch" href="/assets/js/7.99161716.js"><link rel="prefetch" href="/assets/js/8.a0d65864.js"><link rel="prefetch" href="/assets/js/9.2d06e692.js">
12
- <link rel="stylesheet" href="/assets/css/0.styles.7cfabf05.css">
13
- </head>
14
- <body>
15
- <div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/" class="home-link router-link-active"><!----> <span class="site-name">ChengYu-cloud中文文档</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <!----></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><!----> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>配置指南</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/config/" aria-current="page" class="active sidebar-link">参数说明</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/config/#只读-编辑-模式切换" class="sidebar-link">只读/编辑 模式切换</a></li><li class="sidebar-sub-header"><a href="/config/#工具栏" class="sidebar-link">工具栏</a></li><li class="sidebar-sub-header"><a href="/config/#网格" class="sidebar-link">网格</a></li><li class="sidebar-sub-header"><a href="/config/#右键菜单" class="sidebar-link">右键菜单</a></li><li class="sidebar-sub-header"><a href="/config/#指定表格宽高" class="sidebar-link">指定表格宽高</a></li><li class="sidebar-sub-header"><a href="/config/#行" class="sidebar-link">行</a></li><li class="sidebar-sub-header"><a href="/config/#列" class="sidebar-link">列</a></li><li class="sidebar-sub-header"><a href="/config/#样式" class="sidebar-link">样式</a></li></ul></li><li><a href="/config/config_list.html" class="sidebar-link">默认配置</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="参数说明"><a href="#参数说明" class="header-anchor">#</a> 参数说明</h1> <p>这些参数都是在第一次实例化加载的,也可以后期设定,但是建议一次对自己需要变更的提前修改加载</p> <h2 id="只读-编辑-模式切换"><a href="#只读-编辑-模式切换" class="header-anchor">#</a> 只读/编辑 模式切换</h2> <p>你只需要将配置中的 <code>mode</code> 设置为 <code>read</code> 或者 <code>edit</code> 在第一次加载的时候</p> <div class="language-js line-numbers-mode"><pre class="language-js"><code> <span class="token literal-property property">mode</span><span class="token operator">:</span> <span class="token string">'edit'</span><span class="token comment">// 'edit'</span>
16
- </code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><h2 id="工具栏"><a href="#工具栏" class="header-anchor">#</a> 工具栏</h2> <p>工具栏的显示状态 <code>showToolbar: boolean</code>, 默认为 true</p> <p>底部工具栏 <code>showBottomBar: boolean</code>, 默认为 true</p> <div class="language-js line-numbers-mode"><pre class="language-js"><code> <span class="token literal-property property">showToolbar</span><span class="token operator">:</span> <span class="token boolean">true</span> <span class="token comment">// false</span>
17
- <span class="token literal-property property">showBottomBar</span><span class="token operator">:</span> <span class="token boolean">true</span> <span class="token comment">// false</span>
18
- </code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br></div></div><h2 id="网格"><a href="#网格" class="header-anchor">#</a> 网格</h2> <p>内容区域网格显示状态 <code>showGrid: boolean</code></p> <div class="language-js line-numbers-mode"><pre class="language-js"><code> <span class="token literal-property property">showGrid</span><span class="token operator">:</span> <span class="token boolean">true</span> <span class="token comment">// false</span>
19
- </code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><h2 id="右键菜单"><a href="#右键菜单" class="header-anchor">#</a> 右键菜单</h2> <p>切换右键菜单显示状态 <code>showContextmenu: boolean</code></p> <div class="language-js line-numbers-mode"><pre class="language-js"><code> <span class="token literal-property property">showContextmenu</span><span class="token operator">:</span> <span class="token boolean">true</span> <span class="token comment">// false</span>
20
- </code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><h2 id="指定表格宽高"><a href="#指定表格宽高" class="header-anchor">#</a> 指定表格宽高</h2> <p>这包含工具栏高度,可以调整表格固定的宽高 <code>view</code> 属性的 <code>height</code> 和 <code>width</code></p> <div class="language-js line-numbers-mode"><pre class="language-js"><code> <span class="token comment">// 可以是固定值</span>
21
- <span class="token literal-property property">view</span><span class="token operator">:</span> <span class="token punctuation">{</span>
22
- <span class="token function-variable function">height</span><span class="token operator">:</span> <span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token operator">=&gt;</span> document<span class="token punctuation">.</span>documentElement<span class="token punctuation">.</span>clientHeight<span class="token punctuation">,</span>
23
- <span class="token function-variable function">width</span><span class="token operator">:</span> <span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token operator">=&gt;</span> document<span class="token punctuation">.</span>documentElement<span class="token punctuation">.</span>clientWidth
24
- <span class="token punctuation">}</span>
25
- </code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br></div></div><h2 id="行"><a href="#行" class="header-anchor">#</a> 行</h2> <p>调整行的高度和默认展示数量,分别通过 <code>height</code> 属性和 <code>len</code> 调整</p> <div class="language-js line-numbers-mode"><pre class="language-js"><code> <span class="token literal-property property">row</span><span class="token operator">:</span> <span class="token punctuation">{</span>
26
- <span class="token literal-property property">height</span><span class="token operator">:</span> <span class="token number">25</span><span class="token punctuation">,</span>
27
- <span class="token literal-property property">len</span><span class="token operator">:</span> <span class="token number">100</span>
28
- <span class="token punctuation">}</span>
29
- </code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br></div></div><h2 id="列"><a href="#列" class="header-anchor">#</a> 列</h2> <p>可以调整默认显示的列数 <code>len</code>,A-Z,默认每个列的宽度 <code>width</code> ,左边序列栏默认宽度 <code>indexWidth</code> ,以及每个列默认最小宽度 <code>minWidth</code></p> <div class="language-js line-numbers-mode"><pre class="language-js"><code> <span class="token literal-property property">col</span><span class="token operator">:</span> <span class="token punctuation">{</span>
30
- <span class="token literal-property property">len</span><span class="token operator">:</span> <span class="token number">26</span><span class="token punctuation">,</span>
31
- <span class="token literal-property property">width</span><span class="token operator">:</span> <span class="token number">100</span><span class="token punctuation">,</span>
32
- <span class="token literal-property property">indexWidth</span><span class="token operator">:</span> <span class="token number">60</span><span class="token punctuation">,</span>
33
- <span class="token literal-property property">minWidth</span><span class="token operator">:</span> <span class="token number">60</span><span class="token punctuation">,</span>
34
- <span class="token punctuation">}</span>
35
- </code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br></div></div><h2 id="样式"><a href="#样式" class="header-anchor">#</a> 样式</h2> <p>可以调整表格渲染的样式</p> <div class="language-js line-numbers-mode"><pre class="language-js"><code><span class="token literal-property property">style</span><span class="token operator">:</span> <span class="token punctuation">{</span>
36
- <span class="token comment">// 背景颜色</span>
37
- <span class="token literal-property property">bgcolor</span><span class="token operator">:</span> <span class="token string">'#ffffff'</span><span class="token punctuation">,</span>
38
- <span class="token comment">// 水平对齐方式</span>
39
- <span class="token literal-property property">align</span><span class="token operator">:</span> <span class="token string">'left'</span><span class="token punctuation">,</span>
40
- <span class="token comment">// 垂直对齐方式</span>
41
- <span class="token literal-property property">valign</span><span class="token operator">:</span> <span class="token string">'middle'</span><span class="token punctuation">,</span>
42
- <span class="token comment">// 是否需要换行</span>
43
- <span class="token literal-property property">textwrap</span><span class="token operator">:</span> <span class="token boolean">false</span><span class="token punctuation">,</span>
44
- <span class="token comment">// 虚线边框</span>
45
- <span class="token literal-property property">strike</span><span class="token operator">:</span> <span class="token boolean">false</span><span class="token punctuation">,</span>
46
- <span class="token comment">// 下画线</span>
47
- <span class="token literal-property property">underline</span><span class="token operator">:</span> <span class="token boolean">false</span><span class="token punctuation">,</span>
48
- <span class="token comment">// 文字颜色</span>
49
- <span class="token literal-property property">color</span><span class="token operator">:</span> <span class="token string">'#0a0a0a'</span><span class="token punctuation">,</span>
50
- <span class="token comment">// 字体设置</span>
51
- <span class="token literal-property property">font</span><span class="token operator">:</span> <span class="token punctuation">{</span>
52
- <span class="token comment">// 字体</span>
53
- <span class="token literal-property property">name</span><span class="token operator">:</span> <span class="token string">'Helvetica'</span><span class="token punctuation">,</span>
54
- <span class="token comment">// 字号大小</span>
55
- <span class="token literal-property property">size</span><span class="token operator">:</span> <span class="token number">10</span><span class="token punctuation">,</span>
56
- <span class="token comment">// 是否加粗</span>
57
- <span class="token literal-property property">bold</span><span class="token operator">:</span> <span class="token boolean">false</span><span class="token punctuation">,</span>
58
- <span class="token comment">// 斜体</span>
59
- <span class="token literal-property property">italic</span><span class="token operator">:</span> <span class="token boolean">false</span><span class="token punctuation">,</span>
60
- <span class="token punctuation">}</span><span class="token punctuation">,</span>
61
- <span class="token punctuation">}</span>
62
- </code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br><span class="line-number">12</span><br><span class="line-number">13</span><br><span class="line-number">14</span><br><span class="line-number">15</span><br><span class="line-number">16</span><br><span class="line-number">17</span><br><span class="line-number">18</span><br><span class="line-number">19</span><br><span class="line-number">20</span><br><span class="line-number">21</span><br><span class="line-number">22</span><br><span class="line-number">23</span><br><span class="line-number">24</span><br><span class="line-number">25</span><br><span class="line-number">26</span><br><span class="line-number">27</span><br></div></div></div> <footer class="page-edit"><!----> <!----></footer> <div class="page-nav"><p class="inner"><!----> <span class="next"><a href="/config/config_list.html">
63
- 默认配置
64
- </a>
65
-
66
- </span></p></div> </main></div><div class="global-ui"></div></div>
67
- <script src="/assets/js/app.0be82e56.js" defer></script><script src="/assets/js/2.2668fa1b.js" defer></script><script src="/assets/js/12.b9ed6e21.js" defer></script>
68
- </body>
69
- </html>
@@ -1,26 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en-US">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width,initial-scale=1">
6
- <title>Spring Boot Admin服务监控 | ChengYu-cloud中文文档</title>
7
- <meta name="generator" content="VuePress 1.9.7">
8
-
9
- <meta name="description" content="极简、高效、配置简单">
10
-
11
- <link rel="preload" href="/assets/css/0.styles.7cfabf05.css" as="style"><link rel="preload" href="/assets/js/app.0be82e56.js" as="script"><link rel="preload" href="/assets/js/2.2668fa1b.js" as="script"><link rel="preload" href="/assets/js/14.6495a0e6.js" as="script"><link rel="prefetch" href="/assets/js/10.285f55d1.js"><link rel="prefetch" href="/assets/js/11.decff412.js"><link rel="prefetch" href="/assets/js/12.b9ed6e21.js"><link rel="prefetch" href="/assets/js/13.d9c8c7a9.js"><link rel="prefetch" href="/assets/js/15.70d64d1a.js"><link rel="prefetch" href="/assets/js/16.a93c018c.js"><link rel="prefetch" href="/assets/js/17.ed91eb16.js"><link rel="prefetch" href="/assets/js/18.d07cd593.js"><link rel="prefetch" href="/assets/js/19.4b8a0f22.js"><link rel="prefetch" href="/assets/js/20.52de9326.js"><link rel="prefetch" href="/assets/js/21.2293a5ca.js"><link rel="prefetch" href="/assets/js/3.fd22fded.js"><link rel="prefetch" href="/assets/js/4.ad26b2fa.js"><link rel="prefetch" href="/assets/js/5.a1c97bcb.js"><link rel="prefetch" href="/assets/js/6.32f67120.js"><link rel="prefetch" href="/assets/js/7.99161716.js"><link rel="prefetch" href="/assets/js/8.a0d65864.js"><link rel="prefetch" href="/assets/js/9.2d06e692.js">
12
- <link rel="stylesheet" href="/assets/css/0.styles.7cfabf05.css">
13
- </head>
14
- <body>
15
- <div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/" class="home-link router-link-active"><!----> <span class="site-name">ChengYu-cloud中文文档</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <!----></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><!----> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>项目介绍</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/guide/" aria-current="page" class="sidebar-link">ChengYu-cloud开发文档</a></li><li><a href="/guide/summary.html" class="sidebar-link">基础功能</a></li><li><a href="/guide/nacos.html" class="sidebar-link">Nacos 说明</a></li><li><a href="/guide/hystrix.html" class="sidebar-link">熔断降级限流 hystirx</a></li><li><a href="/guide/gateway.html" class="sidebar-link">gateway路由配置使用说明</a></li><li><a href="/guide/rabbitmq.html" class="sidebar-link">RabbitMq集成说明</a></li><li><a href="/guide/admin.html" aria-current="page" class="active sidebar-link">Spring Boot Admin服务监控</a><ul class="sidebar-sub-headers"></ul></li><li><a href="/guide/skywarking.html" class="sidebar-link">链路跟踪 skywarking</a></li><li><a href="/guide/opsdev.html" class="sidebar-link">docker 说明</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>项目部署</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/guide/deepchange.html" class="sidebar-link">ChengYu-cloud部署</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="spring-boot-admin服务监控"><a href="#spring-boot-admin服务监控" class="header-anchor">#</a> Spring Boot Admin服务监控</h1> <p>它采用图形化的界面,让我们的Spring Boot管理更加简单。</p> <p>主要的功能点有:</p> <ul><li>显示应用程序的监控状态</li> <li>应用程序上下线监控</li> <li>查看 JVM,线程信息</li> <li>可视化的查看日志以及下载日志文件</li> <li>动态切换日志级别</li> <li>Http 请求信息跟踪</li> <li>其他功能点……</li></ul> <p>更多了解 <a href="https://github.com/codecentric/spring-boot-admin" target="_blank" rel="noopener noreferrer">Spring-boot-admin<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a>。</p> <hr> <h3 id="访问地址"><a href="#访问地址" class="header-anchor">#</a> 访问地址</h3> <p><a href="http://localhost:9111/" target="_blank" rel="noopener noreferrer">http://localhost:9111<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <p>账号密码:admin/admin</p></div> <footer class="page-edit"><!----> <!----></footer> <div class="page-nav"><p class="inner"><span class="prev">
16
-
17
- <a href="/guide/rabbitmq.html" class="prev">
18
- RabbitMq集成说明
19
- </a></span> <span class="next"><a href="/guide/skywarking.html">
20
- 链路跟踪 skywarking
21
- </a>
22
-
23
- </span></p></div> </main></div><div class="global-ui"></div></div>
24
- <script src="/assets/js/app.0be82e56.js" defer></script><script src="/assets/js/2.2668fa1b.js" defer></script><script src="/assets/js/14.6495a0e6.js" defer></script>
25
- </body>
26
- </html>
@@ -1,213 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en-US">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width,initial-scale=1">
6
- <title>ChengYu-cloud部署 | ChengYu-cloud中文文档</title>
7
- <meta name="generator" content="VuePress 1.9.7">
8
-
9
- <meta name="description" content="极简、高效、配置简单">
10
-
11
- <link rel="preload" href="/assets/css/0.styles.7cfabf05.css" as="style"><link rel="preload" href="/assets/js/app.0be82e56.js" as="script"><link rel="preload" href="/assets/js/2.2668fa1b.js" as="script"><link rel="preload" href="/assets/js/3.fd22fded.js" as="script"><link rel="prefetch" href="/assets/js/10.285f55d1.js"><link rel="prefetch" href="/assets/js/11.decff412.js"><link rel="prefetch" href="/assets/js/12.b9ed6e21.js"><link rel="prefetch" href="/assets/js/13.d9c8c7a9.js"><link rel="prefetch" href="/assets/js/14.6495a0e6.js"><link rel="prefetch" href="/assets/js/15.70d64d1a.js"><link rel="prefetch" href="/assets/js/16.a93c018c.js"><link rel="prefetch" href="/assets/js/17.ed91eb16.js"><link rel="prefetch" href="/assets/js/18.d07cd593.js"><link rel="prefetch" href="/assets/js/19.4b8a0f22.js"><link rel="prefetch" href="/assets/js/20.52de9326.js"><link rel="prefetch" href="/assets/js/21.2293a5ca.js"><link rel="prefetch" href="/assets/js/4.ad26b2fa.js"><link rel="prefetch" href="/assets/js/5.a1c97bcb.js"><link rel="prefetch" href="/assets/js/6.32f67120.js"><link rel="prefetch" href="/assets/js/7.99161716.js"><link rel="prefetch" href="/assets/js/8.a0d65864.js"><link rel="prefetch" href="/assets/js/9.2d06e692.js">
12
- <link rel="stylesheet" href="/assets/css/0.styles.7cfabf05.css">
13
- </head>
14
- <body>
15
- <div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/" class="home-link router-link-active"><!----> <span class="site-name">ChengYu-cloud中文文档</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <!----></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><!----> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>项目介绍</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/guide/" aria-current="page" class="sidebar-link">ChengYu-cloud开发文档</a></li><li><a href="/guide/summary.html" class="sidebar-link">基础功能</a></li><li><a href="/guide/nacos.html" class="sidebar-link">Nacos 说明</a></li><li><a href="/guide/hystrix.html" class="sidebar-link">熔断降级限流 hystirx</a></li><li><a href="/guide/gateway.html" class="sidebar-link">gateway路由配置使用说明</a></li><li><a href="/guide/rabbitmq.html" class="sidebar-link">RabbitMq集成说明</a></li><li><a href="/guide/admin.html" class="sidebar-link">Spring Boot Admin服务监控</a></li><li><a href="/guide/skywarking.html" class="sidebar-link">链路跟踪 skywarking</a></li><li><a href="/guide/opsdev.html" class="sidebar-link">docker 说明</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>项目部署</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/guide/deepchange.html" aria-current="page" class="active sidebar-link">ChengYu-cloud部署</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/guide/deepchange.html#环境说明" class="sidebar-link">环境说明</a></li><li class="sidebar-sub-header"><a href="/guide/deepchange.html#archiva-maven" class="sidebar-link">Archiva Maven</a></li><li class="sidebar-sub-header"><a href="/guide/deepchange.html#docker" class="sidebar-link">docker</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/guide/deepchange.html#docker安装" class="sidebar-link">docker安装</a></li><li class="sidebar-sub-header"><a href="/guide/deepchange.html#docker软件安装" class="sidebar-link">docker软件安装</a></li><li class="sidebar-sub-header"><a href="/guide/deepchange.html#dockerfile镜像制作" class="sidebar-link">Dockerfile镜像制作</a></li><li class="sidebar-sub-header"><a href="/guide/deepchange.html#docker-compose镜像制作" class="sidebar-link">docker-compose镜像制作</a></li><li class="sidebar-sub-header"><a href="/guide/deepchange.html#docker仓库搭建与使用" class="sidebar-link">docker仓库搭建与使用</a></li></ul></li><li class="sidebar-sub-header"><a href="/guide/deepchange.html#postgres搭建" class="sidebar-link">postgres搭建</a></li></ul></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="chengyu-cloud部署"><a href="#chengyu-cloud部署" class="header-anchor">#</a> ChengYu-cloud部署</h1> <h2 id="环境说明"><a href="#环境说明" class="header-anchor">#</a> 环境说明</h2> <p>JDK: 1.8</p> <p>Maven:</p> <p>MySql:</p> <p>Redis:</p> <p>PostgreSQL:</p> <h2 id="archiva-maven"><a href="#archiva-maven" class="header-anchor">#</a> Archiva Maven</h2> <p>后台管理地址:http://192.144.227.154:8989</p> <div class="language- line-numbers-mode"><pre class="language-text"><code>账号:admin
16
- 密码:admin20200202
17
- </code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br></div></div><p>本地maven配置 添加maven仓库连接地址和账号</p> <div class="language- line-numbers-mode"><pre class="language-text"><code>&lt;servers&gt;
18
- &lt;server&gt;
19
- &lt;id&gt;archiva-releases&lt;/id&gt;
20
- &lt;username&gt;admin&lt;/username&gt;
21
- &lt;password&gt;admin20200202&lt;/password&gt;
22
- &lt;/server&gt;
23
- &lt;server&gt;
24
- &lt;id&gt;archiva-snapshots&lt;/id&gt;
25
- &lt;username&gt;admin&lt;/username&gt;
26
- &lt;password&gt;admin20200202&lt;/password&gt;
27
- &lt;/server&gt;
28
- &lt;/servers&gt;
29
-
30
- &lt;mirrors&gt;
31
- &lt;mirror&gt;
32
- &lt;id&gt;archiva-releases&lt;/id&gt;
33
- &lt;mirrorOf&gt;internal&lt;/mirrorOf&gt;
34
- &lt;url&gt;http://192.144.227.154:8989/repository/internal/&lt;/url&gt;
35
- &lt;/mirror&gt;
36
- &lt;mirror&gt;
37
- &lt;id&gt;archiva-snapshots&lt;/id&gt;
38
- &lt;mirrorOf&gt;snapshots&lt;/mirrorOf&gt;
39
- &lt;url&gt;http://192.144.227.154:8989/repository/snapshots/&lt;/url&gt;
40
- &lt;/mirror&gt;
41
- &lt;/mirrors&gt;
42
-
43
- &lt;profiles&gt;
44
- &lt;profile&gt;
45
- &lt;activation&gt;
46
- &lt;activeByDefault&gt;true&lt;/activeByDefault&gt;
47
- &lt;/activation&gt;
48
- &lt;repositories&gt;
49
- &lt;repository&gt;
50
- &lt;id&gt;internal&lt;/id&gt;
51
- &lt;name&gt;Archiva Managed Internal Repository&lt;/name&gt;
52
- &lt;url&gt;http://192.144.227.154:8989/repository/internal/&lt;/url&gt;
53
- &lt;releases&gt;
54
- &lt;enabled&gt;true&lt;/enabled&gt;
55
- &lt;/releases&gt;
56
- &lt;snapshots&gt;
57
- &lt;enabled&gt;false&lt;/enabled&gt;
58
- &lt;/snapshots&gt;
59
- &lt;/repository&gt;
60
- &lt;repository&gt;
61
- &lt;id&gt;snapshots&lt;/id&gt;
62
- &lt;name&gt;Archiva Managed Snapshots Repository&lt;/name&gt;
63
- &lt;url&gt;http://192.144.227.154:8989/repository/snapshots/&lt;/url&gt;
64
- &lt;releases&gt;
65
- &lt;enabled&gt;false&lt;/enabled&gt;
66
- &lt;/releases&gt;
67
- &lt;snapshots&gt;
68
- &lt;enabled&gt;true&lt;/enabled&gt;
69
- &lt;/snapshots&gt;
70
- &lt;/repository&gt;
71
- &lt;/repositories&gt;
72
- &lt;/profile&gt;
73
- &lt;/profiles&gt;
74
- </code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br><span class="line-number">12</span><br><span class="line-number">13</span><br><span class="line-number">14</span><br><span class="line-number">15</span><br><span class="line-number">16</span><br><span class="line-number">17</span><br><span class="line-number">18</span><br><span class="line-number">19</span><br><span class="line-number">20</span><br><span class="line-number">21</span><br><span class="line-number">22</span><br><span class="line-number">23</span><br><span class="line-number">24</span><br><span class="line-number">25</span><br><span class="line-number">26</span><br><span class="line-number">27</span><br><span class="line-number">28</span><br><span class="line-number">29</span><br><span class="line-number">30</span><br><span class="line-number">31</span><br><span class="line-number">32</span><br><span class="line-number">33</span><br><span class="line-number">34</span><br><span class="line-number">35</span><br><span class="line-number">36</span><br><span class="line-number">37</span><br><span class="line-number">38</span><br><span class="line-number">39</span><br><span class="line-number">40</span><br><span class="line-number">41</span><br><span class="line-number">42</span><br><span class="line-number">43</span><br><span class="line-number">44</span><br><span class="line-number">45</span><br><span class="line-number">46</span><br><span class="line-number">47</span><br><span class="line-number">48</span><br><span class="line-number">49</span><br><span class="line-number">50</span><br><span class="line-number">51</span><br><span class="line-number">52</span><br><span class="line-number">53</span><br><span class="line-number">54</span><br><span class="line-number">55</span><br><span class="line-number">56</span><br><span class="line-number">57</span><br></div></div><p>pom.xml配置</p> <div class="language- line-numbers-mode"><pre class="language-text"><code> &lt;distributionManagement&gt;
75
- &lt;repository&gt;
76
- &lt;id&gt;archiva-releases&lt;/id&gt;
77
- &lt;url&gt;http://192.144.227.154:8989/repository/internal/&lt;/url&gt;
78
- &lt;/repository&gt;
79
- &lt;snapshotRepository&gt;
80
- &lt;id&gt;archiva-snapshots&lt;/id&gt;
81
- &lt;url&gt;http://192.144.227.154:8989/repository/snapshots/&lt;/url&gt;
82
- &lt;/snapshotRepository&gt;
83
- &lt;/distributionManagement&gt;
84
-
85
- </code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br></div></div><p><img src="/assets/img/7F8296FF-4A75-4013-BBFC-D482BF5303FF.597ff8a1.png" alt=" "></p> <h2 id="docker"><a href="#docker" class="header-anchor">#</a> docker</h2> <h3 id="docker安装"><a href="#docker安装" class="header-anchor">#</a> docker安装</h3> <p>采用方式:升级系统为Windows 10 专业版</p> <div class="language- line-numbers-mode"><pre class="language-text"><code>1.更新Windows为最新版本
86
- 2.升级Windows为专业版
87
- </code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br></div></div><p>安装:安装<a href="https://www.docker.com/" target="_blank" rel="noopener noreferrer">docker官网<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <p>环境配置:控制面板\程序\程序和功能\启用或关闭Windows功能\勾选Hyper-V 重启生效</p> <h3 id="docker软件安装"><a href="#docker软件安装" class="header-anchor">#</a> docker软件安装</h3> <h4 id="_1-mysql安装"><a href="#_1-mysql安装" class="header-anchor">#</a> 1.mySQL安装</h4> <p>拉取官方的最新版本的镜像 <a href="https://hub.docker.com/_/mysql?tab=tags" target="_blank" rel="noopener noreferrer">MySQL 镜像库地址<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a>:</p> <div class="language- line-numbers-mode"><pre class="language-text"><code>docker pull mysql:latest
88
- </code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><h5 id="_2-查看本地镜像"><a href="#_2-查看本地镜像" class="header-anchor">#</a> 2.查看本地镜像</h5> <p>查看是否已安装了 mysql:</p> <div class="language- line-numbers-mode"><pre class="language-text"><code>docker images
89
- </code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><p><img src="/assets/img/mysql_images.07b3a3e5.jpg" alt=" "></p> <h5 id="_3-运行容器"><a href="#_3-运行容器" class="header-anchor">#</a> 3.运行容器</h5> <div class="language- line-numbers-mode"><pre class="language-text"><code>docker run -itd --name mysql-test -p 3306:3306 -e MYSQL_ROOT_PASSWORD=123456 47.111.253.18:5000/mysql
90
- </code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><ul><li><strong>-p 3306:3306</strong> :映射容器服务的 3306 端口到宿主机的 3306 端口,外部主机可以直接通过 <strong>宿主机ip:3306</strong> 访问到 MySQL 的服务。</li> <li><strong>MYSQL_ROOT_PASSWORD=123456</strong>:设置 MySQL 服务 root 用户的密码</li></ul> <h5 id="_5-安装成功"><a href="#_5-安装成功" class="header-anchor">#</a> 5.安装成功</h5> <p>查看是否安装成功</p> <div class="language- line-numbers-mode"><pre class="language-text"><code>docker ps
91
- </code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><h4 id="_2、nacos安装"><a href="#_2、nacos安装" class="header-anchor">#</a> 2、nacos安装</h4> <h5 id="_1-安装nacos"><a href="#_1-安装nacos" class="header-anchor">#</a> 1.安装nacos</h5> <p>nacos的环境搭建,参考<a href="https://nacos.io/zh-cn/docs/quick-start-docker.html" target="_blank" rel="noopener noreferrer">官方文档<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <div class="language- line-numbers-mode"><pre class="language-text"><code>docker pull nacos/nacos-server
92
- </code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><h5 id="_2-启动nacos"><a href="#_2-启动nacos" class="header-anchor">#</a> 2.启动nacos</h5> <div class="language- line-numbers-mode"><pre class="language-text"><code>docker run --env MODE=standalone --name nacos -d -p 8848:8848 47.111.253.18:5000/nacos/nacos-server
93
- </code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><h5 id="_3-查看nacos服务"><a href="#_3-查看nacos服务" class="header-anchor">#</a> 3.查看nacos服务</h5> <p>地址:http://localhost:8848/nacos
94
- 用户名密码:nacos/nacos
95
- <img src="/assets/img/nacos.741b050d.jpg" alt=" "></p> <h5 id="_4-导入nacos数据库"><a href="#_4-导入nacos数据库" class="header-anchor">#</a> 4.导入nacos数据库</h5> <p>https://gitee.com/jeecg/jeecg-boot/blob/master/jeecg-boot/db/tables_nacos.sql</p> <h5 id="_5-nacos连接mysql"><a href="#_5-nacos连接mysql" class="header-anchor">#</a> 5.nacos连接mysql</h5> <p>查看docker中mySQL <strong>IPAddress</strong> 地址</p> <div class="language-json line-numbers-mode"><pre class="language-json"><code>docker inspect mysql容器ID
96
- docker exec -it nacos容器ID bash
97
- cd conf
98
- vi application.properties
99
- 修改nacos连接mysql
100
- </code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br></div></div><h4 id="_3-redis安装"><a href="#_3-redis安装" class="header-anchor">#</a> 3.redis安装</h4> <h5 id="_1-拉取-redis-镜像"><a href="#_1-拉取-redis-镜像" class="header-anchor">#</a> 1.拉取 redis 镜像</h5> <p>拉取官方的最新版本的镜像 <a href="https://redis.io/" target="_blank" rel="noopener noreferrer">redis官网<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a>:</p> <div class="language- line-numbers-mode"><pre class="language-text"><code>docker pull redis:latest
101
- </code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><h5 id="_2-查看本地镜像-2"><a href="#_2-查看本地镜像-2" class="header-anchor">#</a> 2.查看本地镜像</h5> <p>查看是否已安装了 redis:</p> <div class="language- line-numbers-mode"><pre class="language-text"><code>docker images
102
- </code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><p><img src="/assets/img/redis_images.f0979945.jpg" alt=" "></p> <h5 id="_3-运行容器-2"><a href="#_3-运行容器-2" class="header-anchor">#</a> 3.运行容器</h5> <div class="language- line-numbers-mode"><pre class="language-text"><code>docker run -itd --name redis-test -p 6379:6379 redis
103
- </code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><ul><li><strong>-p 6379:6379</strong>:映射容器服务的 6379 端口到宿主机的 6379 端口。外部可以直接通过宿主机ip:6379 访问到 Redis 的服务。</li></ul> <h5 id="_5-安装成功-2"><a href="#_5-安装成功-2" class="header-anchor">#</a> 5.安装成功</h5> <p>查看是否安装成功</p> <div class="language- line-numbers-mode"><pre class="language-text"><code>docker ps
104
- </code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><h3 id="dockerfile镜像制作"><a href="#dockerfile镜像制作" class="header-anchor">#</a> Dockerfile镜像制作</h3> <div class="language-dockerfile line-numbers-mode"><pre class="language-dockerfile"><code><span class="token instruction"><span class="token keyword">FROM</span> anapsix/alpine-java:8_server-jre_unlimited</span>
105
-
106
- <span class="token instruction"><span class="token keyword">MAINTAINER</span> ifyang@11.com</span>
107
-
108
- <span class="token instruction"><span class="token keyword">RUN</span> ln -sf /usr/epqqmanage/deploy /etc/localtime</span>
109
-
110
- <span class="token instruction"><span class="token keyword">RUN</span> mkdir -p /sys-gate</span>
111
-
112
- <span class="token instruction"><span class="token keyword">WORKDIR</span> /sys-gate</span>
113
-
114
- <span class="token instruction"><span class="token keyword">EXPOSE</span> 9002</span>
115
-
116
- <span class="token instruction"><span class="token keyword">ADD</span> ./target/sys-gate.jar ./</span>
117
-
118
- <span class="token instruction"><span class="token keyword">CMD</span> java -Djava.security.egd=file:/dev/./urandom -jar sys-gate.jar</span>
119
-
120
- </code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br><span class="line-number">12</span><br><span class="line-number">13</span><br><span class="line-number">14</span><br><span class="line-number">15</span><br><span class="line-number">16</span><br></div></div><h3 id="docker-compose镜像制作"><a href="#docker-compose镜像制作" class="header-anchor">#</a> docker-compose镜像制作</h3> <div class="language-java line-numbers-mode"><pre class="language-java"><code>version<span class="token operator">:</span> <span class="token char">'2'</span>
121
- services<span class="token operator">:</span>
122
- sys<span class="token operator">-</span>center<span class="token operator">:</span>
123
- build<span class="token operator">:</span>
124
- context<span class="token operator">:</span> <span class="token punctuation">.</span>/sys<span class="token operator">-</span>center
125
- restart<span class="token operator">:</span> always
126
- ports<span class="token operator">:</span>
127
- <span class="token operator">-</span> <span class="token number">8761</span><span class="token operator">:</span><span class="token number">8761</span>
128
- container_name<span class="token operator">:</span> sys<span class="token operator">-</span>center
129
- hostname<span class="token operator">:</span> sys<span class="token operator">-</span>center
130
- image<span class="token operator">:</span> sys<span class="token operator">-</span>center
131
-
132
- sys<span class="token operator">-</span>gate<span class="token operator">:</span>
133
- build<span class="token operator">:</span>
134
- context<span class="token operator">:</span> <span class="token punctuation">.</span>/sys<span class="token operator">-</span>gate
135
- restart<span class="token operator">:</span> always
136
- ports<span class="token operator">:</span>
137
- <span class="token operator">-</span> <span class="token number">9002</span><span class="token operator">:</span><span class="token number">9002</span>
138
- container_name<span class="token operator">:</span> sys<span class="token operator">-</span>gate
139
- hostname<span class="token operator">:</span> sys<span class="token operator">-</span>gate
140
- image<span class="token operator">:</span> sys<span class="token operator">-</span>gate
141
-
142
- sysmanage<span class="token operator">:</span>
143
- build<span class="token operator">:</span>
144
- context<span class="token operator">:</span> <span class="token punctuation">.</span>/sysmanage
145
- restart<span class="token operator">:</span> always
146
- ports<span class="token operator">:</span>
147
- <span class="token operator">-</span> <span class="token number">8012</span><span class="token operator">:</span><span class="token number">8012</span>
148
- container_name<span class="token operator">:</span> sysmanage
149
- hostname<span class="token operator">:</span> sysmanage
150
- image<span class="token operator">:</span> sysmanage
151
-
152
- # bz<span class="token operator">-</span>basedata<span class="token operator">:</span>
153
- # build<span class="token operator">:</span>
154
- # context<span class="token operator">:</span> <span class="token punctuation">.</span>/bz<span class="token operator">-</span>basedata
155
- # restart<span class="token operator">:</span> always
156
- # ports<span class="token operator">:</span>
157
- # <span class="token operator">-</span> <span class="token number">8945</span><span class="token operator">:</span><span class="token number">8945</span>
158
- # container_name<span class="token operator">:</span> bz<span class="token operator">-</span>basedata
159
- # hostname<span class="token operator">:</span> bz<span class="token operator">-</span>basedata
160
- # image<span class="token operator">:</span> bz<span class="token operator">-</span>basedata
161
- #
162
- # bz<span class="token operator">-</span>device<span class="token operator">:</span>
163
- # build<span class="token operator">:</span>
164
- # context<span class="token operator">:</span> <span class="token punctuation">.</span>/bz<span class="token operator">-</span>device
165
- # restart<span class="token operator">:</span> always
166
- # ports<span class="token operator">:</span>
167
- # <span class="token operator">-</span> <span class="token number">8924</span><span class="token operator">:</span><span class="token number">8924</span>
168
- # container_name<span class="token operator">:</span> bz<span class="token operator">-</span>device
169
- # hostname<span class="token operator">:</span> bz<span class="token operator">-</span>device
170
- # image<span class="token operator">:</span> bz<span class="token operator">-</span>device
171
- #
172
- # bz<span class="token operator">-</span>maintain<span class="token operator">:</span>
173
- # build<span class="token operator">:</span>
174
- # context<span class="token operator">:</span> <span class="token punctuation">.</span>/bz<span class="token operator">-</span>maintain
175
- # restart<span class="token operator">:</span> always
176
- # ports<span class="token operator">:</span>
177
- # <span class="token operator">-</span> <span class="token number">8765</span><span class="token operator">:</span><span class="token number">8765</span>
178
- # container_name<span class="token operator">:</span> bz<span class="token operator">-</span>maintain
179
- # hostname<span class="token operator">:</span> bz<span class="token operator">-</span>maintain
180
- # image<span class="token operator">:</span> bz<span class="token operator">-</span>maintain
181
-
182
- </code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br><span class="line-number">12</span><br><span class="line-number">13</span><br><span class="line-number">14</span><br><span class="line-number">15</span><br><span class="line-number">16</span><br><span class="line-number">17</span><br><span class="line-number">18</span><br><span class="line-number">19</span><br><span class="line-number">20</span><br><span class="line-number">21</span><br><span class="line-number">22</span><br><span class="line-number">23</span><br><span class="line-number">24</span><br><span class="line-number">25</span><br><span class="line-number">26</span><br><span class="line-number">27</span><br><span class="line-number">28</span><br><span class="line-number">29</span><br><span class="line-number">30</span><br><span class="line-number">31</span><br><span class="line-number">32</span><br><span class="line-number">33</span><br><span class="line-number">34</span><br><span class="line-number">35</span><br><span class="line-number">36</span><br><span class="line-number">37</span><br><span class="line-number">38</span><br><span class="line-number">39</span><br><span class="line-number">40</span><br><span class="line-number">41</span><br><span class="line-number">42</span><br><span class="line-number">43</span><br><span class="line-number">44</span><br><span class="line-number">45</span><br><span class="line-number">46</span><br><span class="line-number">47</span><br><span class="line-number">48</span><br><span class="line-number">49</span><br><span class="line-number">50</span><br><span class="line-number">51</span><br><span class="line-number">52</span><br><span class="line-number">53</span><br><span class="line-number">54</span><br><span class="line-number">55</span><br><span class="line-number">56</span><br><span class="line-number">57</span><br><span class="line-number">58</span><br><span class="line-number">59</span><br><span class="line-number">60</span><br><span class="line-number">61</span><br><span class="line-number">62</span><br></div></div><h3 id="docker仓库搭建与使用"><a href="#docker仓库搭建与使用" class="header-anchor">#</a> docker仓库搭建与使用</h3> <h5 id="_1-仓库搭建"><a href="#_1-仓库搭建" class="header-anchor">#</a> 1.仓库搭建</h5> <div class="language- line-numbers-mode"><pre class="language-text"><code># 1.获取私有仓库镜像
183
- docker pull registry:2
184
-
185
- # 2.运行镜像仓库
186
- docker run -d -v /opt/registry:/var/lib/registry -p 5000:5000 --name myregistry registry:2
187
-
188
- # 3.验证仓库是否运行
189
- http://127.0.0.1:5000/v2
190
-
191
- </code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br></div></div><h5 id="_2-仓库使用"><a href="#_2-仓库使用" class="header-anchor">#</a> 2.仓库使用</h5> <div class="language- line-numbers-mode"><pre class="language-text"><code># 通过docker tag将镜像标志为要推送到私有仓库
192
-
193
- docker tag mysql:latest 47.111.253.18:5000/mysql:latest
194
-
195
- # 通过 docker push 命令将 mysql 镜像 push到私有仓库中
196
- docker push 47.111.253.18:5000/mysql:latest
197
-
198
- # 查看上传得镜像
199
- http://47.111.253.18:5000/v2/_catalog
200
-
201
- # 从私有仓库获取应用
202
- docker pull 47.111.253.18:5000/mysql:latest
203
-
204
- </code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br><span class="line-number">12</span><br><span class="line-number">13</span><br></div></div><h5 id="_3-harbor管理器"><a href="#_3-harbor管理器" class="header-anchor">#</a> 3.harbor管理器</h5> <div class="language- line-numbers-mode"><pre class="language-text"><code>待完善
205
- </code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><h5 id="参考文档地址"><a href="#参考文档地址" class="header-anchor">#</a> 参考文档地址</h5> <p>docker搭建 https://www.cnblogs.com/huanchupkblog/p/10843800.html</p> <h4 id=""><a href="#" class="header-anchor">#</a></h4> <h2 id="postgres搭建"><a href="#postgres搭建" class="header-anchor">#</a> postgres搭建</h2> <p>postgres搭建参考<a href="https://www.postgresql.org/" target="_blank" rel="noopener noreferrer">官方文档<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <p>其它参考文档:https://www.cnblogs.com/mingfan/p/12332506.html</p> <p>postgres设置参考文档:https://www.digitalocean.com/community/tutorials/how-to-install-and-use-postgresql-on-ubuntu-16-04</p> <p>https://blog.csdn.net/weixin_42404521/article/details/115870366</p> <p>拉取最新postgres</p> <p>docker pull postgres:latest</p> <p>docker中启动</p> <div class="language- line-numbers-mode"><pre class="language-text"><code>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
206
- </code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div></div> <footer class="page-edit"><!----> <!----></footer> <div class="page-nav"><p class="inner"><span class="prev">
207
-
208
- <a href="/guide/opsdev.html" class="prev">
209
- docker 说明
210
- </a></span> <!----></p></div> </main></div><div class="global-ui"></div></div>
211
- <script src="/assets/js/app.0be82e56.js" defer></script><script src="/assets/js/2.2668fa1b.js" defer></script><script src="/assets/js/3.fd22fded.js" defer></script>
212
- </body>
213
- </html>