Kong-dashboard 安装 启动运行
?
Kong Dashboard
?
前些天發(fā)現(xiàn)了一個(gè)巨牛的人工智能學(xué)習(xí)網(wǎng)站,通俗易懂,風(fēng)趣幽默,忍不住分享一下給大家。點(diǎn)擊跳轉(zhuǎn)到教程。
?
Kong?is a scalable, open source API Layer (also known as a API Gateway, or API Middleware).
Kong runs in front of any RESTful API and provide functionalities
and services such as requests routing, authentication, rate limiting, etc.
Kong dashboard?is a GUI that will let you manage your Kong Gateway setup.
( 譯:
Kong是一個(gè)可擴(kuò)展的開(kāi)源API層(也稱(chēng)為API網(wǎng)關(guān)或API中間件)。
Kong 在任何 RESTful API 之前運(yùn)行,
并提供諸如請(qǐng)求路由,身份驗(yàn)證,速率限制等功能和服務(wù)。
Kong儀表板是一個(gè)GUI,可讓您管理您的Kong Gateway設(shè)置。)
?
Compatibility matrix (兼容列表)
| 1.x.x | 0.6, 0.7, 0.8, 0.9 | ? |
| 2.x.x | 0.10 | ? |
| 3.0.x | 0.9, 0.10, 0.11 | >= 6.0.0 |
| 3.1.x, 3.2.x | 0.9, 0.10, 0.11, 0.12 | >= 6.0.0 |
| 3.3.x | 0.9, 0.10, 0.11, 0.12, 0.13 | >= 6.0.0 |
Notes:
- Kong Dashboard 3.3.0 is only partially compatible with Kong 0.13. It does not support the new Service and Route
objects introduced in Kong 0.13. (譯 : Kong Dashboard 3.3.0 只與 Kong 0.13 部分兼容。它不支持?Kong 0.13 中引入的新的Service 和 Route?對(duì)象。)
Prerequisites (?先決條件?)
You will need:? (你會(huì)需要:)
(1.一個(gè)正在運(yùn)行的 Kong 網(wǎng)關(guān)?https://getkong.org/install/? ? 2.?nodejs 和 npm 或者 docker?)
?
Installation (安裝)
Using npm (使用 npm)
# Install Kong Dashboard npm install -g kong-dashboard# Start Kong Dashboard kong-dashboard start --kong-url http://kong:8001# Start Kong Dashboard on a custom port kong-dashboard start \--kong-url http://kong:8001 \--port [port]# Start Kong Dashboard with basic auth kong-dashboard start \--kong-url http://kong:8001 \--basic-auth user1=password1 user2=password2# See full list of start options kong-dashboard start --help?
?
Using Docker (使用 Docker?)
# Start Kong Dashboard docker run --rm -p 8080:8080 pgbi/kong-dashboard start --kong-url http://kong:8001# Start Kong Dashboard on a custom port docker run --rm -p [port]:8080 pgbi/kong-dashboard start --kong-url http://kong:8001# Start Kong Dashboard with basic auth docker run --rm -p 8080:8080 pgbi/kong-dashboard start \--kong-url http://kong:8001--basic-auth user1=password1 user2=password2# See full list of start options docker run --rm -p 8080:8080 pgbi/kong-dashboard start --help?
Use (使用)
You can now browse Kong Dashboard at?http://localhost:8080?
?(您現(xiàn)在可以在http:// localhost:8080上瀏覽Kong Dashboard)
Contributing?(特別說(shuō)明 )
If you consider contributing to Kong Dashboard by reporting a bug, or submitting a patch, please checkout the
contribution document?for guidance.
( 如果您考慮通過(guò)報(bào)告錯(cuò)誤或提交補(bǔ)丁來(lái)貢獻(xiàn) Kong Dashboard,請(qǐng)查看?貢獻(xiàn)文檔?以獲取指導(dǎo)。)
?
?
轉(zhuǎn)自 Docker 官網(wǎng):https://hub.docker.com/r/pgbi/kong-dashboard/
總結(jié)
以上是生活随笔為你收集整理的Kong-dashboard 安装 启动运行的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: vista下文件夹拒绝访问的解决办法
- 下一篇: 学习C++和编程的50个观点