{"id":17233906,"url":"https://github.com/caseywebdev/consul-lb","last_synced_at":"2025-10-11T00:11:48.511Z","repository":{"id":66221708,"uuid":"100436411","full_name":"caseywebdev/consul-lb","owner":"caseywebdev","description":"A Consul-aware load balancer powered by nginx and secured by Let's Encrypt.","archived":false,"fork":false,"pushed_at":"2018-04-07T03:43:40.000Z","size":119,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-19T04:04:04.476Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/caseywebdev.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":"2017-08-16T01:55:07.000Z","updated_at":"2020-08-28T17:57:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"33040269-3eb8-465d-aa3e-90efb1b5bab4","html_url":"https://github.com/caseywebdev/consul-lb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/caseywebdev/consul-lb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caseywebdev%2Fconsul-lb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caseywebdev%2Fconsul-lb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caseywebdev%2Fconsul-lb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caseywebdev%2Fconsul-lb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caseywebdev","download_url":"https://codeload.github.com/caseywebdev/consul-lb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caseywebdev%2Fconsul-lb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279005650,"owners_count":26083940,"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-10-10T02:00:06.843Z","response_time":62,"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":[],"created_at":"2024-10-15T05:27:10.585Z","updated_at":"2025-10-11T00:11:48.496Z","avatar_url":"https://github.com/caseywebdev.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# consul-lb\n\nA [Consul]-aware load balancer powered by [nginx] and secured by [Let's\nEncrypt].\n\n```sh\n# Docker is required.\ndocker run\n\n  # Expose port 80 on the host for HTTP traffic.\n  -p 80:80\n\n  # If USE_SSL=1 (default), expose port 443 for HTTPS traffic.\n  -p 443:443\n\n  # ENVVARS, or how to configure consul-lb to work for you. Each configuration\n  # envvar is listed below with its default value.\n\n  # This is the tag prefix consul-lb will look for in each service to determine\n  # if and when traffic should be routed to that service. For example a service\n  # that registers with the tag \"consul-lb.url=foo.example.com\" will be routed\n  # traffic that hits consul-lb from the host \"foo.example.com\". Path routing is\n  # also supported, so a service that registers with the tag\n  # \"consul-lb.url=bar.example.org/baz\" will receive traffic from the host\n  # \"bar.example.org\" and the path \"/baz\".\n  #\n  # To enable basic auth for a service, add the tag \"\u003cyour prefix\u003e.auth=\u003cconsul\n  # key\u003e\" where the value at \u003cconsul key\u003e is a basic auth user file as defined\n  # at\n  # http://nginx.org/en/docs/http/ngx_http_auth_basic_module.html#auth_basic_user_file\n  -e CONSUL_TAG_PREFIX='consul-lb'\n\n  # This is the service name with which consul-lb will register in consul, as\n  # well as the first part of the kv path consul-lb will be using for storage.\n  -e CONSUL_SERVICE_NAME='consul-lb'\n\n  # This is a comma-delimited list of tags to with which the service will\n  # register in consul.\n  -e CONSUL_SERVICE_TAGS=''\n\n  # This is the URL to the consul API.\n  -e CONSUL_URL='http://consul:8500'\n\n  # This is an optional email address that Let's Encrypt will use for any\n  # communication regarding expiring certificates or other issues related to\n  # your certs.\n  -e LETSENCRYPT_EMAIL_ADDRESS=''\n\n  # Let's Encrypt has a pretty conservative rate limit on cert requests. It's\n  # recommended that when you're testing your DNS settings to make sure\n  # everything is lined up correct you set this value to '1' to enable the use\n  # of Let's Encrypt's staging servers. You can confirm everything is working\n  # correctly if you visit your secured domain and see an untrusted cert from\n  # Let's Encrypt. Once you see that, you can set this flag back to '0' and\n  # consul-lb will request a trusted cert.\n  -e LETSENCRYPT_TEST_CERT='0'\n\n  # This is the flag that enables Let's Encrypt automatic SSL certificate\n  # generation. You may want to set this to '0' in development or for an\n  # internal load balancer where Let's Encrypt certs are not possible or needed.\n  -e USE_SSL='1'\n\n  # You can run the pre-built image or modify this repo and build your own.\n  # coderiety/consul-lb images are tagged by git branch, git tag, and git SHA.\n  coderiety/consul-lb:master\n```\n\n[Consul]: https://www.consul.io\n[nginx]: https://nginx.org\n[Let's Encrypt]: https://letsencrypt.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaseywebdev%2Fconsul-lb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaseywebdev%2Fconsul-lb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaseywebdev%2Fconsul-lb/lists"}