dopache

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

Docker + Hipache = Dopache

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

npm install dopache -g

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

redis-cli set dopache:enome.be enome-container:3000

This will create the following hipache settings:

redis-cli lrange frontend:enome.be 0 -1 #[ 'enome-container', '175.44.66.20:3000'] 

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