Caddylb is a self configured load balancer for docker enviromnent. The main use case for it is to support a microservice dev environment.
Important: the docker daemon must be available inside the caddylb container.
docker run -it -v /var/run/docker.sock:/var/run/docker.sock thspinto/caddylb
| Label | Value | Description |
|---|---|---|
| caddylb.host | <hostname> | The hostname for the server |
| caddylb.port | <port> | The container port where the service is running |
| caddylb.directives | <directives> | Other directives from Caddy you may want to include. Checkout the Caddy Official Docs |
Caddy's default port is 2015. If you whish to run your service on port 80, you can use http://.
No dependency tools are used in this project (waiting for dep to go stable).
So you can get the dependencies using make deps.
Run make to get the dependencies and build the binaries.
Content type
Image
Digest
Size
243.8 MB
Last updated
over 9 years ago
docker pull thspinto/caddylb