{"id":18745770,"url":"https://github.com/moshloop/tcp-loadbalancer","last_synced_at":"2026-01-24T13:41:37.744Z","repository":{"id":138334243,"uuid":"167988268","full_name":"moshloop/tcp-loadbalancer","owner":"moshloop","description":null,"archived":false,"fork":false,"pushed_at":"2019-01-29T20:34:25.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-28T20:26:29.381Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/moshloop.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}},"created_at":"2019-01-28T15:47:29.000Z","updated_at":"2019-01-29T20:34:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"e60c7e68-c8c6-4359-b7e9-c7ee2e31caef","html_url":"https://github.com/moshloop/tcp-loadbalancer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moshloop%2Ftcp-loadbalancer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moshloop%2Ftcp-loadbalancer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moshloop%2Ftcp-loadbalancer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moshloop%2Ftcp-loadbalancer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moshloop","download_url":"https://codeload.github.com/moshloop/tcp-loadbalancer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239627234,"owners_count":19670844,"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","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":[],"created_at":"2024-11-07T16:19:37.549Z","updated_at":"2025-11-23T14:30:23.400Z","avatar_url":"https://github.com/moshloop.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tcp-loadbalancer\n\nDynamic TCP load balancer using nginx and consul-template. Designed to be used for discovering and load balancing across kubernetes masters.\n\nLoosely modelled after https://github.com/CiscoCloud/haproxy-consul\n\n```bash\ndocker run --rm -e SERVICE_NAME=cluster-c -e CONSUL_CONNECT=consul:8500 moshloop/tcp-loadbalancer\n```\n\nVariable | Description | Default\n---------|-------------|---------\n`PORT`  | The port to listen on | `8443`\n`SERVICE_NAME`  | The consul service to load balance |\n`CONSUL_CONNECT`  | The consul connection | `consul.service.consul:8500`\n`CONSUL_LOGLEVEL` | Valid values are \"debug\", \"info\", \"warn\", and \"err\". | `debug`\n`CONSUL_TOKEN`    | The [Consul API token](http://www.consul.io/docs/internals/acl.html) |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoshloop%2Ftcp-loadbalancer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoshloop%2Ftcp-loadbalancer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoshloop%2Ftcp-loadbalancer/lists"}