Skip to content

abrahamjoc/docker-compose-kong-konga

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kong in Docker Compose

This is the official Docker Compose template for Kong. This implementation has Konga (Kong GUI).

What is Kong?

You can find the official Docker distribution for Kong at https://store.docker.com/images/kong.

How to use this template

This Docker Compose template provisions a Kong container with a Postgres database, plus a nginx load-balancer. After running the template, the nginx-lb load-balancer will be the entrypoint to Kong.

To run this template execute:

$ docker-compose up

To scale Kong (ie, to three instances) execute:

$ docker-compose scale kong=3

In case of error with COMPOSE_HTTP_TIMEOUT: run on this way:

$ COMPOSE_HTTP_TIMEOUT=3600 docker-compose up

Konga Connection With Kong

Name: Kong
Kong Admin URL: http://kong:8001/

Kong will be available through the nginx-lb instance on port 8000, and 8001. You can customize the template with your own environment variables or datastore configuration.

Kong's documentation can be found at https://docs.konghq.com/.

Good information

https://www.youtube.com/watch?v=ayNLGfSHGFk (Configuring Kong as API gateway)

https://docs.konghq.com/0.13.x/getting-started/configuring-a-service/ (How Create a service and route)

https://www.youtube.com/watch?v=iz6i-RwsrJw (Configuring Kong with Konga)

Issues

If you have any problems with or questions about this image, please contact us through a GitHub issue.

Contributing

You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.

Before you start to code, we recommend discussing your plans through a GitHub issue, especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.

About

Docker Kong and Konga

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published