Skip to content

Docker workflow with Nginx (proxy), Node.js (3 instances) and Redis

License

Notifications You must be signed in to change notification settings

zucchinidev/nodejs-nginx-redis-docker-app

Repository files navigation

NodeJS, Redis, Nignx y Docker

A simple Node.js application that increments a counter stored on Redis. I want to run Redis and the node application independently as I want to have the ability to scale the node application depending on the load.

Exists 3 instances of the node server running the application and Nginx server in front of node for load balancing the node instances.

Scheme

Start

sudo docker-compose up
curl localhost // test
{ healthy: true } // response
curl localhost/clients // test

This page has been viewed 1 times! // response

curl localhost/clients // test

This page has been viewed 2 times! // response
...

About

Docker workflow with Nginx (proxy), Node.js (3 instances) and Redis

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published