Coder Social home page Coder Social logo

interlock's Introduction

Interlock

Dynamic, event-driven Docker plugin system using Swarm.

Usage

Run docker run ehazlett/interlock list-plugins to show available plugins.

Example:

docker run -P ehazlett/interlock -s tcp://1.2.3.4:2375 --plugin example start

Commandline options

  • --swarm-url: url to swarm (default: tcp://127.0.0.1:2375)
  • --swarm-tls-ca-cert: TLS CA certificate to use with swarm (optional)
  • --swarm-tls-cert: TLS certificate to use with swarm (optional)
  • --swarm-tls-key: TLS certificate key to use with swarm (options)
  • --plugin: enable plugin
  • --debug: enable debug output
  • --version: show version and exit

Plugins

See the Plugins directory for available plugins and their corresponding readme.md for usage.

Name Description
Example Example Plugin for Reference
HAProxy HAProxy Load Balancer
Nginx Nginx Load Balancer
Stats Container stat forwarding to Carbon
Aerospike Aerospike database cluster tipper

Building

To build a local copy of Interlock, you must have the following:

  • Go 1.5+
  • Use the Go vendor experiment

You can use the Makefile to build the binary. For example:

make build

This will build the binary in interlock/interlock.

There is also a Docker image target in the makefile. You can build it with make image.

You can also use Docker to build in a container if you do not want to worry about the host Go setup. To build in a container run:

make build-container

This will build the executable and place in interlock/interlock. Note: this executable will be built for Linux so you will either need to build a container afterword or be using Linux as your host OS to use.

License

Licensed under the Apache License, Version 2.0. See LICENSE for full license text.

interlock's People

Contributors

bfirsh avatar bsedin avatar crashsystems avatar ehazlett avatar evlos avatar hasnat avatar mbentley avatar nathanleclaire avatar rgbkrk avatar whyrg avatar wolfgang42 avatar wr0ngway avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.