All Projects → Kuari → kong-konga-docker-compose

Kuari / kong-konga-docker-compose

Licence: MIT license
Docker-compose.yml for kong, konga and postgres using official image.

Projects that are alternatives of or similar to kong-konga-docker-compose

kong-konga-example
Setup Kong + Konga + PostgreSQL using Docker Compose
Stars: ✭ 36 (-60.44%)
Mutual labels:  kong, konga
kong-map
Kongmap is a free visualization tool which allows you to view and edit configurations of your Kong API Gateway Clusters, including Routes, Services, and Plugins/Policies. The tool is being offered for installation via Docker and Kubernetes at this time.
Stars: ✭ 60 (-34.07%)
Mutual labels:  kong, konga
Kong-API-Manager
Kong API Manager with Prometheus And Graylog
Stars: ✭ 78 (-14.29%)
Mutual labels:  kong, konga
Wicked.haufe.io
An API Management system based on Mashape Kong
Stars: ✭ 110 (+20.88%)
Mutual labels:  kong
Kuma
🐻 The Universal Service Mesh. CNCF Sandbox Project.
Stars: ✭ 2,516 (+2664.84%)
Mutual labels:  kong
meshery-kuma
Meshery Adapter for Kuma
Stars: ✭ 35 (-61.54%)
Mutual labels:  kong
Kong Ingress
[DEPRECATED] A Kubernetes Ingress for Kong
Stars: ✭ 96 (+5.49%)
Mutual labels:  kong
docker-kong-oidc
Kong + OIDC plugins
Stars: ✭ 83 (-8.79%)
Mutual labels:  kong
kong-init
Declarative configuration tool for Kong
Stars: ✭ 38 (-58.24%)
Mutual labels:  kong
kongsul
Kong Api Gateway with Consul Service Discovery (MicroService)
Stars: ✭ 35 (-61.54%)
Mutual labels:  kong
kong-js-pdk
Kong PDK for Javascript and plugin server
Stars: ✭ 28 (-69.23%)
Mutual labels:  kong
MPContribs
Platform for materials scientists to contribute and disseminate their materials data through Materials Project
Stars: ✭ 30 (-67.03%)
Mutual labels:  kong
Deck
decK: Configuration management and drift detection for Kong
Stars: ✭ 211 (+131.87%)
Mutual labels:  kong
lua-circuit-breaker
Circuit breaker pattern in Lua
Stars: ✭ 28 (-69.23%)
Mutual labels:  kong
Kong Dashboard
Dashboard for managing Kong gateway
Stars: ✭ 2,142 (+2253.85%)
Mutual labels:  kong
kong-plugins-canary
The grayscale plug-in based on gateway Kong, called Canary, meets A/B testing and dynamically switches upstream agents
Stars: ✭ 31 (-65.93%)
Mutual labels:  kong
Kubernetes Ingress Controller
🦍 Kong for Kubernetes: the official Ingress Controller for Kubernetes.
Stars: ✭ 1,347 (+1380.22%)
Mutual labels:  kong
kong-plugin-url-rewrite
Kong API Gateway plugin for url-rewrite purposes
Stars: ✭ 43 (-52.75%)
Mutual labels:  kong
kongverge
A desired state configuration tool for Kong
Stars: ✭ 23 (-74.73%)
Mutual labels:  kong
kong-oidc-auth
OpenID Connect authentication with Kong gateway
Stars: ✭ 41 (-54.95%)
Mutual labels:  kong

kong-konga-docker-compose

Use the latest version of kong and konga, and do not need to compile, directly pull the official image to run.

Four containers:

  • kong-database : postgres
  • kong-migrations : kong
  • kong : kong
  • konga : konga

Usage

docker-compose up -d

Configure https

Configure https as follows, and then use https protocol to access port 8443.

kong:
  ...
  volumes:
    - "./ssl:/mnt/ssl"
  environment:
    - KONG_SSL_CERT=/mnt/ssl/ssl.pem
    - KONG_SSL_CERT_KEY=/mnt/ssl/ssl.key
    ...

If you are using docker-compose-production.yml

The production environment needs to ensure security and performance. Here, the production environment configuration file created in a simple scenario is for reference only. If you have a better way, please let me know.

1. use tls certificate

Create a folder ssl under the same level folder of docker-compose-production.yml, built-in tls certificate file, the specific name can be modified in the yaml file, the default is ssl.key and ssl.pem.

2. create network

Create a network for kong, and then connect the business nodes through the intranet. The default network name here is kong-net, you can create it with the following command.

docker network create kong-net

3. run

docker-compose up -d

4. register service and route of konga

In the production version, the port of konga is not exposed, so that konga's request also distributes traffic on kong. So here you need to manually request kong's management api for registration.

Install curl on any node in the network where kong is located, and then execute the following command.When both requests return HTTP/1.1 201 Created, the registration is successful.

# register service
curl -i -X POST --url http://kong:8001/services/ --data 'name=konga' --data 'url=http://konga:1337'
# register route
curl -i -X POST --url http://kong:8001/services/konga/routes --data 'name=konga' --data 'paths[]=/konga'

Then, go to the browser to visit your web address. The first time you log in to konga, you need to visit the following address.The key is to add the path of /konga, make it /konga/register path, the first time the /register path will be loaded directly by default.

https://<your-domain-name>/konga/register#!/services

Official documentation

install kong using docker: https://docs.konghq.com/install/docker/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].