lucaslorentz/caddy-docker-proxy
View on GitHub ↗ ★ 4,753 Go
Caddy as a reverse proxy for Docker
35 mentions on Hacker News by 25 people: 1 story, 34 comments · first 2020-04-24 · latest 2025-09-26
20082026
-
Yeah, I don't use Traefik I use Caddy with https://github.com/lucaslorentz/caddy-docker-proxy to achieve configurations by labels, but that is really a killer feature. All the config to set up an app can go in a docker-compose file and I…
comment by gh02t · 2025-09-26 · in Traefik's 10-year anniversary -
Yes, there's [caddy-docker-proxy]( https://github.com/lucaslorentz/caddy-docker-proxy ) which I personally use in my homelab. It will read and update on docker compose labels to configure the route. Highly recommend.
comment by rirze · 2025-09-26 · in Traefik's 10-year anniversary -
From what I see, yes: https://github.com/lucaslorentz/caddy-docker-proxy/blob/mast... caddy-docker-proxy generates a Caddyfile in memory, and then it calls the internal Caddy API `/load`. So - yes, it would presumably have been affected,…
comment by gregsadetsky · 2025-07-22 · in LetsEncrypt Outage -
Check https://github.com/lucaslorentz/caddy-docker-proxy it's a Caddy plugin that does exactly this and in a less verbose way of Traefik. Moreover if you have more of one caddy server deployed it handles TLS certification management in a…
comment by aglione · 2025-02-17 · in Caddy – The Ultimate Server with Automatic HTTPS -
…with multiple docker projects. I have it running on a couple of servers, and it just works! [0] https://github.com/lucaslorentz/caddy-docker-proxy
comment by oliwary · 2025-02-16 · in Caddy – The Ultimate Server with Automatic HTTPS -
…your own plugin. Let us know if you need help. Also yes, Caddy does service discovery if you use https://github.com/lucaslorentz/caddy-docker-proxy , configuration via Docker labels. Or you can use dynamic upstreams (built-in)…
comment by francislavoie · 2024-05-05 · in Take a look at Traefik, even if you don't use containers -
…with caddy-docker-proxy for my self-hosting setup. All the features I need but *much* simpler. https://github.com/lucaslorentz/caddy-docker-proxy
comment by pricci · 2024-05-05 · in Take a look at Traefik, even if you don't use containers -
…days. I use a very similar process, and have found this to be a godsend in making it even quicker: https://github.com/lucaslorentz/caddy-docker-proxy It handles the routing to multiple dockerized projects on one server, by scanning docker…
comment by oliwary · 2024-04-13 · in Self-Hosted Is Awesome -
The Caddy Docker Proxy Module enables Caddy to act as reverse proxy for docker containers via labels: https://github.com/lucaslorentz/caddy-docker-proxy
comment by mitjam · 2024-03-21 · in Lcl.host: fast, easy HTTPS in your local dev environment -
My go to is always this instead: https://github.com/lucaslorentz/caddy-docker-proxy Single label to a docker container and with correct DNS you’ll have an automatically managed certificate right away.
comment by J_tt · 2024-02-11 · in Keycloak SSO with Docker Compose and Nginx -
I have had a great experience with using this: https://github.com/lucaslorentz/caddy-docker-proxy It combines caddy with docker-compose labels, making it super easy to spin up new projects that can immediately be exposed.
comment by patapong · 2023-10-03 · in Working on Multiple Web Projects with Docker Compose and Traefik -
…could extend it with Caddy Docker Proxy and go right back to the labels-as-configuration method. https://github.com/lucaslorentz/caddy-docker-proxy I actually do this, because I kinda like having the proxy config right next to the app…
comment by Whitestrake · 2023-09-13 · in Caddy is the first and only web server to use HTTPS automatically and by default -
…and the plugin will regenerate Caddy's configuration whenever the container is modified. [0] https://github.com/lucaslorentz/caddy-docker-proxy
comment by piaste · 2023-09-12 · in Caddy is the first and only web server to use HTTPS automatically and by default -
…dyserver.com/docs/running#docker-compose , and CDP is a project that autoconfigures Caddy from labels https://github.com/lucaslorentz/caddy-docker-proxy . Regarding plugins, it's super simple to write a Dockerfile to add plugins, we ship a…
comment by francislavoie · 2023-08-17 · in Nginx Development Guide -
…using it (and kills the old container). I've looked at https://github.com/Wowu/docker-rollout and https://github.com/lucaslorentz/caddy-docker-proxy but haven't had time to prioritize it yet.
comment by elitan · 2023-07-16 · in How I run my servers (2022) -
That can be done with Caddy as well: https://github.com/lucaslorentz/caddy-docker-proxy
comment by francislavoie · 2023-05-24 · in Nginx 1.25.0: experimental HTTP/3 support -
…clever options now that auto-configure Caddy and SSL via letsencrypt all just using docker compose: https://github.com/lucaslorentz/caddy-docker-proxy
comment by giobox · 2023-02-08 · in Ask HN: I just want to have fun programming again -
…that would be super nice to build, and it's nice to see something like this land :) - https://github.com/lucaslorentz/caddy-docker-proxy - https://doc.traefik.io/traefik/providers/docker/
comment by josegonzalez · 2023-02-07 · in Show HN: Docker rollout – Zero Downtime Deployment for Docker-compose -
Awesome! I might use this. I think this approach should work fine with https://github.com/lucaslorentz/caddy-docker-proxy as well.
comment by francislavoie · 2023-02-07 · in Show HN: Docker rollout – Zero Downtime Deployment for Docker-compose -
…built for doing this with a bunch of containers but I haven't had a need to switch. I do use https://github.com/lucaslorentz/caddy-docker-proxy for letting the containers themselves describe their respective domains and mapping. I do have…
comment by zeendo · 2023-01-06 · in Ask HN: What's on your home server? -
…is a nice project to configure Caddy with Docker labels. Supports standalone and swarm. https://github.com/lucaslorentz/caddy-docker-proxy
comment by jhot · 2022-11-24 · in HTTPS Reverse Proxy: Caddy Outperforms Nginx 4x -
Yep! The CDP plugin https://github.com/lucaslorentz/caddy-docker-proxy makes configuration per docker service pretty easy!
comment by francislavoie · 2022-09-08 · in Caddyhttp: Enable HTTP/3 by Default -
…can enable HTTP/3 (QUIC (UDP port 1704)) for just that container. "Labels to Caddyfile conversion" https://github.com/lucaslorentz/caddy-docker-proxy#labels-to... From https://news.ycombinator.com/item?id=26127879 re: containersec : > > -…
comment by westurner · 2022-09-08 · in Caddyhttp: Enable HTTP/3 by Default -
…containers starts|restarts, so you briefly lose all connectivity to all sites behind Caddy. [0] https://github.com/lucaslorentz/caddy-docker-proxy
comment by justsomehnguy · 2022-09-06 · in Static site hosting hurdles -
If you want traefik-like config from container labels, simply use: https://github.com/lucaslorentz/caddy-docker-proxy
comment by mholt · 2022-07-28 · in Upgrading from Debian Jessie to Bullseye after nearly 30 years -
You can also do this with Caddy, using this plugin: https://github.com/lucaslorentz/caddy-docker-proxy
comment by francislavoie · 2022-05-23 · in NGINX Proxy Manager -
…ages for my VPS where I host some side projects. But recently I switched to Caddy Docker Proxy ( https://github.com/lucaslorentz/caddy-docker-proxy ) and I'm happy with the switch. Seems easier to set it up directly in the docker compose…
comment by radoomi · 2022-05-23 · in NGINX Proxy Manager -
I've been using this Docker image in a Docker Compose configuration to run some apps on a VPS https://github.com/lucaslorentz/caddy-docker-proxy Pretty nice, handles routing to your containers and manages LetsEncrypt for you. Response…
comment by benbristow · 2022-04-26 · in Show HN: Caddy v2.5.0 -
…servers like Traefik, since Caddy can fit those use cases as well, especially with this plugin: https://github.com/lucaslorentz/caddy-docker-proxy )
comment by mholt · 2021-11-29 · in Caddy – Open-source web server with automatic HTTPS -
…answered. The automated pulling of container data is not automatic, but there is a port for that ( https://github.com/lucaslorentz/caddy-docker-proxy ) with a great meta-language. There are a few improvements to be done with the logging…
comment by BrandoElFollito · 2020-09-25 · in Traefik, Now With Native Go Plugins -
…in a sane way. Like this? (Am not a Docker user, but I know this is an insanely popular solution) https://github.com/lucaslorentz/caddy-docker-proxy There's also a WIP ingress controller: https://github.com/caddyserver/ingress/
comment by mholt · 2020-07-31 · in Migrating Dropbox from Nginx to Envoy -
…the feature? I'll show you how to integrate it. You might be interested in this discussion: https://github.com/lucaslorentz/caddy-docker-proxy/issues/13...
comment by mholt · 2020-05-04 · in Show HN: Caddy 2 -
…containers out of the box, apparently you would need some plugin to have that feature on Caddy : https://github.com/lucaslorentz/caddy-docker-proxy As such, it seems like Traefik would be easier to setup for your use case.
comment by 1337shadow · 2020-04-24 · in Ask HN: Optimal cloud service to run tiny website with back end Python + SQLite?