{"id":19989596,"url":"https://github.com/wavesoft/docker-lb","last_synced_at":"2026-05-08T23:14:16.621Z","repository":{"id":142483980,"uuid":"261819782","full_name":"wavesoft/docker-lb","owner":"wavesoft","description":"A dynamic front-end for simple docker environments","archived":false,"fork":false,"pushed_at":"2023-05-11T20:39:25.000Z","size":163,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-01T20:02:11.743Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wavesoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-05-06T16:39:49.000Z","updated_at":"2021-08-06T07:10:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"4c7d8beb-ad37-4431-aecb-b7507c7fe1ef","html_url":"https://github.com/wavesoft/docker-lb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavesoft%2Fdocker-lb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavesoft%2Fdocker-lb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavesoft%2Fdocker-lb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wavesoft%2Fdocker-lb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wavesoft","download_url":"https://codeload.github.com/wavesoft/docker-lb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241430321,"owners_count":19961635,"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-13T04:48:35.166Z","updated_at":"2026-05-08T23:14:11.581Z","avatar_url":"https://github.com/wavesoft.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-lb\n\u003e A dynamic front-end Load Balancer simple docker environments\n\nDocker-LB is a Layer-7 load-balancer and web front-end for simple docker environments. It can be used for exposing microservices under different virtual servers and paths.\n\n## Usage\n\nDeploy Docker-LB to your public-facing node(s):\n\n```sh\ndocker run -d --name docker-lb \\\n    -p 80:80 -p 443:443 \\\n    -e AUTOCERT_EMAIL=admin@mydomain.com \\\n    -e AUTOCERT_ORGANISATION=\"My Company\" \\\n    -v /var/run/docker.sock:/var/run/docker.sock \\\n    -v /var/run/docker-lb:/var/run/docker-lb \\\n    wavesoft/docker-lb:latest\n```\n\nThen you can expose one or more services attached on the same docker network as the `docker-lb` service by specifying the following [labels](#labels):\n\n```sh\ndocker run \\\n    -l publish.domain=mydomain.com \\\n    -l publish.port=8080 \\\n    -l publish.ssl=on \\\n    ...\n```\n\n## Labels\n\nThe following labels can be used on the service containers:\n\n\u003ctable\u003e\n    \u003cthead\u003e\n        \u003ctr\u003e\n            \u003cth\u003eLabel\u003c/th\u003e\n            \u003cth\u003eDefault\u003c/th\u003e\n            \u003cth\u003eDescription\u003c/th\u003e\n        \u003c/tr\u003e\n    \u003c/thead\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003cth\u003e\u003ccode\u003epublish.domain\u003c/code\u003e\u003c/th\u003e\n            \u003ctd\u003e\u003cem\u003eRequired\u003c/em\u003e\u003c/td\u003e\n            \u003ctd\u003eThe VirtualServer under which to make this container available under. (Eg \u003ccode\u003emydomain.com\u003c/code\u003e)\u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003cth\u003e\u003ccode\u003epublish.port\u003c/code\u003e\u003c/th\u003e\n            \u003ctd\u003e80\u003c/td\u003e\n            \u003ctd\u003eWhich container port to use as the back-end server. This does not have to be published via \u003ccode\u003e-p\u003c/code\u003e, since docker-lb will reach it through the container network.\u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003cth\u003e\u003ccode\u003epublish.path\u003c/code\u003e\u003c/th\u003e\n            \u003ctd\u003e/\u003c/td\u003e\n            \u003ctd\u003eThe HTTP path to match and forward to the back-end. This is a shorthand to set both \u003ccode\u003epublish.path.frontend\u003c/code\u003e and \u003ccode\u003epublish.path.backend\u003c/code\u003e to the same value.\u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003cth\u003e\u003ccode\u003epublish.path.frontend\u003c/code\u003e\u003c/th\u003e\n            \u003ctd\u003e/\u003c/td\u003e\n            \u003ctd\u003eThe HTTP path to match on the Virtual Server. You can use this option to implement path-based routing.\u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003cth\u003e\u003ccode\u003epublish.path.backend\u003c/code\u003e\u003c/th\u003e\n            \u003ctd\u003e/\u003c/td\u003e\n            \u003ctd\u003eThe HTTP path to match redirect to the back-end server to. If this is different than the \u003ccode\u003epublish.path.frontend\u003c/code\u003e, an HTTP rewrite rule will be established.\u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003cth\u003e\u003ccode\u003epublish.ssl\u003c/code\u003e\u003c/th\u003e\n            \u003ctd\u003eoff\u003c/td\u003e\n            \u003ctd\u003eSet to \u003ccode\u003eon\u003c/code\u003e to expose this service under HTTPS. A certificate will be automatically issued for this service using Lets-Encrypt.\u003c/td\u003e\n        \u003c/tr\u003e\n    \u003c/tbody\u003e\n\u003c/table\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwavesoft%2Fdocker-lb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwavesoft%2Fdocker-lb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwavesoft%2Fdocker-lb/lists"}