/kong-demo

A simple, neatly contained Kong+Konga+Postgres composition to get your hands dirty

Primary LanguageJavaScript

Kong Demo

A simple, neatly contained Kong+Konga+Postgres composition to get your hands dirty

Images included:

  • Kong - API gateway
  • Konga - GUI for Kong
  • Postgres - Persistent storage for both Kong and Konga

Usage

The following usage instructions assume you made no changes to any file in ./config

First run

Perform kong+konga postgres migrations:

docker-compose -f docker-compose.init.yml up --abort-on-container-exit

Kill the composition after kong and konga complete their migrations

Exec

docker-compose up

  • Visit: http://localhost:12000
  • Auth:
    • Username: admin
    • Password: adminadminadmin
  • Connection Setup
    • Name: test_connection
    • Kong Admin URL: http://kong:8001
  • Go nuts!

Configuration

Configs are loaded from the respective *.env file for each service. See the Dockerhub pages and Github repos for additional config options.

Persistent data

Persistent data is mounted to .data/**/* when docker-compose is run. deleting the .data folder will start from scratch.

Dev notes

  • The Kong version is limited by what is currently supported by Konga