{"id":19968505,"url":"https://github.com/pecigonzalo/docker-elb-aws","last_synced_at":"2025-09-04T00:08:17.891Z","repository":{"id":68772491,"uuid":"88659851","full_name":"pecigonzalo/docker-elb-aws","owner":"pecigonzalo","description":null,"archived":false,"fork":false,"pushed_at":"2017-07-01T13:15:17.000Z","size":8,"stargazers_count":5,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-04T01:31:54.095Z","etag":null,"topics":["aws","docker","docker-for-aws","elb","swarm"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pecigonzalo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-04-18T18:55:38.000Z","updated_at":"2022-10-27T12:59:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"8079c3f5-ea80-4c9e-8954-5d614c59c498","html_url":"https://github.com/pecigonzalo/docker-elb-aws","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pecigonzalo/docker-elb-aws","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pecigonzalo%2Fdocker-elb-aws","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pecigonzalo%2Fdocker-elb-aws/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pecigonzalo%2Fdocker-elb-aws/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pecigonzalo%2Fdocker-elb-aws/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pecigonzalo","download_url":"https://codeload.github.com/pecigonzalo/docker-elb-aws/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pecigonzalo%2Fdocker-elb-aws/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273529591,"owners_count":25121834,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","docker","docker-for-aws","elb","swarm"],"created_at":"2024-11-13T02:46:00.518Z","updated_at":"2025-09-04T00:08:17.879Z","avatar_url":"https://github.com/pecigonzalo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Swarm for AWS ELB Autoupdater\n\nThis container will poll the Docker Swarm cluster for all published ports and update the cluster ELB.\n\n*Example project:* **[Terraform docker-swarm](https://github.com/pecigonzalo/tf-docker-swarm)**\n\n### Description\nUses the docker python API to query the running stacks/services with published ports and updates the ELB to map those ports on it.\n\n### Usage\n##### Paramaters\n| Parameter | Example | Description |\n|-----------|:-------:|:------------|\n| DEBUG | True | Enable debug logging |\n| ELB_CONFIG | - | Path to a valid controller config file |\n| AWS_REGION | eu-central-1 | AWS Region ID|\n| POLL_INTERVAL | 3 | Time in seconds to sleep between polls |\n\n##### WIP: Controller configuration\nThis configuration list the target ELB for each network and a default, this should add support for clusters present on multiple networks.\n\n```\n[main]\n127.0.0.1: testELB-Name\n0.0.0.0: testELB-Name\ndefault: testELB-Name\n```\n\n##### Example\n```\ndocker run -d \\\n  --name=elb-aws \\\n  --restart=always \\\n  -v /var/run/docker.sock:/var/run/docker.sock \\\n  -v /var/lib/docker/swarm:/var/lib/docker/swarm \\\n  -e ELB_CONFIG=/var/lib/docker/swarm/elb.cfg \\\n  -e AWS_REGION=$AWS_REGION \\\n  -e DEBUG=True \\\n   pecigonzalo/docker-elb-aws\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpecigonzalo%2Fdocker-elb-aws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpecigonzalo%2Fdocker-elb-aws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpecigonzalo%2Fdocker-elb-aws/lists"}