Skip to content

Enome/dopache

Repository files navigation

Docker + Hipache = Dopache

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

Install

npm install dopache -g

Usage

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.

Tests

vagrant up
mocha -r should tests.js

About

Link containers and their ip + a port to hipache.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published