Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hypriot/rpi-node-haproxy-example
- Owner: hypriot
- License: mit
- Created: 2015-04-03T21:00:40.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-08-16T07:21:44.000Z (over 6 years ago)
- Last Synced: 2024-12-09T20:50:37.234Z (24 days ago)
- Language: JavaScript
- Homepage: http://blog.hypriot.com/post/docker-compose-nodejs-haproxy/
- Size: 108 KB
- Stars: 36
- Watchers: 8
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```