vdocks
A combination of arpanet and mdock.
vdocks is the core code for the viking master but without the opinionated PaaS parts around it.
install
$ npm install vdocks
usage
var http = var vdocks = var options = ip:'192.168.8.120' hostname:'node1' masters:'192.168.8.120,192.168.8.121,192.168.8.122' dockerport:2375 masterport:8791 etcdport:4001 etcdpeerport:7001 etcdpath:'/arpanet' var master = vdocks // we can customize using the master.router (which is a routes-router)masterrouter // server is now a (mostly) docker compatable HTTP endpointvar server = httpserver // this is how non-master nodes are registered onto the networkvar slave = vdocksslaveslave // you can also grab the etcd clientvar etcd = vdocks
license
MIT