Coder Social home page Coder Social logo

kong-devops's Introduction

kong-devops

Kong 网关开发环境,方便插件开发和调试

如何使用

确保本机已经安装了 Docker 环境,然后在项目路径下直接执行启动命令

docker-compose up -d

启动成功后,则可以访问到一下资源

  1. 80 端口,对应 kong 的 8000 端口
  2. 1337 端口,konga 管理界面,已经配置好默认节点信息(账号:admin,密码:kongaadmin)

当某个插件修改代码之后,需要重启 kong 才行,执行以下命令即可

docker-compose restart kong

插件示例

页面维护插件(maintenance)

当某个项目需要显示维护界面时,在对应的 service 下启用该插件即可,如果需要全部项目都进入维护状态,通过全局方式启用该插件即可

kong-devops's People

Contributors

odirus avatar

Stargazers

seven dickens avatar alian avatar duriancashew avatar  avatar

Watchers

James Cloos avatar  avatar

kong-devops's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.