Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hypriot/rpi-node-haproxy-example

Run Node.js webservers behind haproxy with docker-compose on Raspberry Pi
https://github.com/hypriot/rpi-node-haproxy-example

Last synced: 24 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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/](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](https://github.com/hypriot/compose#installation-and-documentation).

Then clone the repo and run all four containers.

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