Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johnhof/kong-demo
A simple, neatly contained Kong+Konga+Postgres composition to get your hands dirty
https://github.com/johnhof/kong-demo
Last synced: 20 days ago
JSON representation
A simple, neatly contained Kong+Konga+Postgres composition to get your hands dirty
- Host: GitHub
- URL: https://github.com/johnhof/kong-demo
- Owner: johnhof
- Created: 2018-02-09T00:09:59.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-09T22:43:05.000Z (almost 7 years ago)
- Last Synced: 2024-10-05T01:41:14.602Z (about 1 month ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kong Demo
A simple, neatly contained Kong+Konga+Postgres composition to get your hands dirty
#### Images included:
- [Kong](https://hub.docker.com/_/kong/) - API gateway
- [Konga](https://hub.docker.com/r/pantsel/konga/) - GUI for Kong
- [Postgres](https://hub.docker.com/_/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