Run Node.js webservers behind haproxy with docker-compose on Raspberry Pi
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
haproxy
src
Dockerfile
LICENSE
README.md
docker-compose.yml

README.md

rpi-node-haproxy-example

Run three Node.js webservers behind haproxy with docker-compose on Raspberry Pi.

This is the sample code to the blog post http://blog.hypriot.com/post/docker-compose-nodejs-haproxy/.

To run it on your Raspberry Pi just clone the repo and follow the blog post.

You have to install docker-compose as described in https://github.com/hypriot/compose#installation-and-documentation.

Then clone the repo and run all four containers.

git clone https://github.com/hypriot/rpi-node-haproxy-example
cd rpi-node-haproxy-example
docker-compose up