Skip to content

ioggstream/docker-express-gateway-ratelimit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express Gateway in Docker Compose

A docker compose for Express Gateway containing the preview ratelimit I-D implementation.

There is no web-ui for now.

What is Express Gateway?

Express Gateway is a Microservices and Serverless to Production Insanely Fast

How to use this template

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

To run this template execute:

$ docker-compose -d up

You can invoke the service on port 8080 and passing the host http header field that is used by express-gateway to dispatch the request to the appropriate backend.

$ curl -i http://localhost:8080/ip -H "host: hb.example.com"

Scaling features are not currently supported

TODO: the port where to listen

TODO: link Express Gateway docuemntation.

Issues

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

About

A sample deployments of express-gateway with ratelimit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published