Branch: master
Find file History
hutchic chore(*) bump to Kong 1.0.0rc4 (#198)
* chore(*) bump to Kong 1.0.0rc4

* feat(mesh) run Kong as non-root user (#199)

* feat(kong-1.0) adjust docker-compose to support kong 1.0 migration bootstrap

* fix(kong) run kong as a non-root user

* feat(kong) kong runs as Kong user

* misc(syntax) adjust tabs vs spaces per PR feedback
Latest commit 200b5c1 Dec 13, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile.nginx Uses docker overlay (#63) Oct 30, 2018 Uses docker overlay (#63) Oct 30, 2018
default.conf Uses docker overlay (#63) Oct 30, 2018
docker-compose.yml chore(*) bump to Kong 1.0.0rc4 (#198) Dec 13, 2018
nginx.conf Uses docker overlay (#63) Oct 30, 2018
nginx.tmpl Uses docker overlay (#63) Oct 30, 2018

Kong in Docker Compose

This is the official Docker Compose template for Kong.

What is Kong?

You can find the official Docker distribution for Kong at

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

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


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


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.