Sign inSign up

tokesplatform/reli-proxy

By tokesplatform

•Updated over 7 years ago

A reverse-proxy with rate limiting and Prometheus-format monitoring metrics

Image
0

439

tokesplatform/reli-proxy repository overview

⁠Node.js reverse-proxy with rate limiter and monitoring

⁠Test the microservice

npm test

⁠Start the microservice

npm start

You can now access the Node.js app at http://localhost:4000⁠

⁠Monitoring

The metrics used by Prometheus for monitoring, are exposed at http://localhost:4000/metrics

⁠WIP Run with Docker

⁠Build the image from the repository
docker build -t reli-proxy .
⁠Start the docker container

Pass in Redis url in the environment variable

docker run -p 4000:4000 --env-file ./.env.sample -it reli-proxy
⁠Run tests
docker-compose up --abort-on-container-exit

⁠Supporting

  • Travis CI
  • Docker image
  • Github templates
  • Unit tests
  • ES lint
  • docker-compose
  • Kubernetes deployment files
  • Prometheus metrics observation & endpoint
  • Grafana dashboard

Tag summary

Content type

Image

Digest

Size

269 MB

Last updated

over 7 years ago

docker pull tokesplatform/reli-proxy