https://github.com/peter-evans/docker-compose-healthcheck https://github.com/peter-evans/docker-compose-healthcheck/blob/master/
#Kong - Konga https://dev.to/vousmeevoyez/setup-kong-konga-part-2-dan https://medium.com/@tselentispanagis/managing-microservices-and-apis-with-kong-and-konga-7d14568bb59d
This is the official Docker Compose template for Kong.
You can find the official Docker distribution for Kong at https://store.docker.com/images/kong.
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 https://docs.konghq.com/.
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.