Sign inSign up

thspinto/caddylb

By thspinto

•Updated over 9 years ago

Auto configured caddy load balancer.

Image
0

315

thspinto/caddylb repository overview

⁠Caddy Docker Load Balancer

Caddylb is a self configured load balancer for docker enviromnent. The main use case for it is to support a microservice dev environment.

⁠Running

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

⁠Configuration Labales

LabelValueDescription
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://.

⁠Build

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.

Tag summary

Content type

Image

Digest

Size

243.8 MB

Last updated

over 9 years ago

docker pull thspinto/caddylb