node package manager
Love JavaScript? Your insights can make it even better. Take the 2017 JavaScript Ecosystem Survey »


Docker + Hipache = Dopache

Link containers and their assigned ip + a port to hipache.


npm install dopache -g


Lets say you have a domain which you want to proxy to a container named enome-container on port 3000.

redis-cli set enome-container:3000

This will create the following hipache settings:

redis-cli lrange 0 -1 #[ 'enome-container', ''] 

The ip is assigned by Docker. Dopache doesn't support multiple containers per frontend if you need this send me a pull request.


vagrant up
mocha -r should tests.js