GithubHelp home page GithubHelp logo

orange888 / kongpose Goto Github PK

View Code? Open in Web Editor NEW

This project forked from asyrjasalo/kongpose

0.0 1.0 0.0 91 KB

Kong and Konga (admin webapp) development setup on docker-compose

License: MIT License

Dockerfile 8.46% JavaScript 91.54%

kongpose's Introduction

kongpose

Run Kong API Gateway, Community Edition development setup with docker-compose. Includes Konga as admin webapp.

Originally based on Yuan Cheung's docker-compose-kong, with the following additions:

  • Add declarative configuration examples
  • Use PostgreSQL 9.6 over 9.5, and Alpine Linux based image for smaller size
  • Prefer kong-migration for initializing the database, rather than setup.sh
  • Prefer Docker's own health checks, over using wait-for-it.sh
  • Remove bash from built images, as it is not then needed
  • Tidy up docker-compose.yml, removed links as they are not mandatory here
  • Remove start.sh as docker-compose restart is a single command anyway
  • Add MongoDB for storing Konga users
  • Improve healthchecks for checking if database migrations have ran
  • Upgrade Kong to 1.0.0rc3, use Alpine Linux based image for smaller size
  • Upgrade Kong Dashboard to latest, to support Kong >= 0.13
    • though commented out in docker-compose.yml as Konga is enough

Usage

docker-compose up

See examples of managing APIs with YAML.

Endpoints

Kong

Kong uses PostgreSQL (9.6) with a persistent Docker volume for its credentials.

Konga

The following default users are configured in konga/user_seed.js:

  • admin / adminadminadmin
  • demo / demodemodemo

After logging in as admin, create a new connection with URL http://kong:8001.

Konga uses MongoDB (4.1) with a persistent Docker volume for its credentials.

kongpose's People

Contributors

asyrjasalo avatar zhangyuan avatar

Watchers

James Cloos avatar

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.