Giter VIP home page Giter VIP logo

docker-elb-aws's Introduction

Docker Swarm for AWS ELB Autoupdater

This container will poll the Docker Swarm cluster for all published ports and update the cluster ELB.

Example project: Terraform docker-swarm

Description

Uses the docker python API to query the running stacks/services with published ports and updates the ELB to map those ports on it.

Usage

Paramaters
Parameter Example Description
DEBUG True Enable debug logging
ELB_CONFIG - Path to a valid controller config file
AWS_REGION eu-central-1 AWS Region ID
POLL_INTERVAL 3 Time in seconds to sleep between polls
WIP: Controller configuration

This configuration list the target ELB for each network and a default, this should add support for clusters present on multiple networks.

[main]
127.0.0.1: testELB-Name
0.0.0.0: testELB-Name
default: testELB-Name
Example
docker run -d \
  --name=elb-aws \
  --restart=always \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v /var/lib/docker/swarm:/var/lib/docker/swarm \
  -e ELB_CONFIG=/var/lib/docker/swarm/elb.cfg \
  -e AWS_REGION=$AWS_REGION \
  -e DEBUG=True \
   pecigonzalo/docker-elb-aws

docker-elb-aws's People

Contributors

pecigonzalo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

briceburg

docker-elb-aws's Issues

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.