Skip to content

sguzwf/overlord

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overlord

Just a simple mock for starting HTTP Cocaine workers locally

Usage

Copy the binary inside a container with your application. Overlord starts your worker with the same args and workdir as Docker isolation plugin under Cocaine.

Run the similar command via docker:

overlord -http ":8080" -locator "cocaine-dev.host.net" -slave "path/to/ur/slave" -startuptimeout "1m"

options:

  • http - endpoint to listen incoming HTTP request. This port must be exposed by docker. Default: :8080
  • locator - comma-separated list of locators for the worker. Default 127.0.0.1:10053,[::1]:10053
  • slave - path to the executable inside the container
  • startuptimeout - time to wait for incoming connection from worker
  • version - show version and exit

Build

make

About

Just a simple mock for starting HTTP Cocaine workers locally

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 96.0%
  • Makefile 4.0%