Skip to content

monoflo/rpi-node-haproxy-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 74.9%
  • Dockerfile 25.1%