You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to see this feature aswell, coolify has both traefik and caddy. In my opinion Caddy is a little more easy to work with in a docker swarm than traefik is, traefik is a pain with sharing TLS certificates without having the Enterprise edition. Caddy supports this out of the box.
Reacted by Axon Technology, Modestas Rinkevičius, Gerardo Galan Garzafox, Théo LUDWIG, Johan Eliasson, Vladimir Drayling, Diego Zamora, ^ - *, Emmie, cciftciodeon and 1 more
Indeed that would be cool to have caddy (like coolify)
Reacted by Sambit Biswas, Sebastian Tampír, Vojtěch Valeš , secqxawx, GiovanniSlabs, Bernhard Kaindl, The Black Wizard, Axon Technology, Modestas Rinkevičius, Nic and 7 more
Not sure what the "even" insinuates here.
And the "doesn't recommend" isn't quite what it says.
They are just only testing with traefik and can't/won't support more.
FWIW I personally had my share of frustrations with traefik and try to stay away from it if possible. It was super awkward to debug and configure. But they had quite some more releases since.
Quite simple: traefik is a way more complex to manage and I had also my fair share of it. Caddy has more built in stuff and only work with it. Caddy on coolify works perfectly well.
Reacted by ^ - *, Tom Czekaj and Vladimir Drayling
Traefik keeps failing to pick up on added domains for me and just returns 404 until I trigger an app deployment again. Traefiks access logs are enabled, yet still empty. Had the same troubles running traefik locally already.
Caddy would be a vastly superior alternativ, traefik's docker routing is a security nightmare anyhow and caddy works and reloads reliably.
Reacted by Nikolas Setiawan, Imam Alfarizi, Torsten Curdt, Pyce, Maor Meir Hajaj, Emmie, Darathor17, cciftciodeon, Adrian Anderson, syz51 and 2 more
I've open PR adding Caddy as an alternative web server provider for Dokploy: #4534
Current implementation includes:
Caddy provider setup/generation/reload support alongside Traefik
Provider-aware domain handling, including adding/removing domains on existing services and domains created with new services
Traefik -> Caddy migration tooling with dry-run/review output and rollback support
LetsEncrypt via Caddy, plus custom SSL certificate handling
Cloudflare/proxy-aware trusted proxy settings
Dokploy UI for selecting the active provider, running/reviewing Caddy migration, configuring trusted proxies, and viewing generated Caddy files/logs
I've already tested this on my live Dokploy environment, but it would be very helpful to get more feedback before this is considered ready to merge.
If anyone is able to test the PR, the most useful areas to validate are:
Creating a new app/service with a domain
Adding/removing domains on an existing app/service
Custom certificate behavior
Cloudflare proxied domains and trusted proxy settings
Migration from an existing Traefik setup to Caddy
Any UI issues around Web Server settings or generated Caddy config files
Please share your Dokploy setup, what you tested, and any failures or confusing behavior you hit. Logs, generated caddy.json snippets, and exact reproduction steps would be especially useful.
Reacted by wood chen, Shahriar, Vladimir Drayling, Lord Vader, Hakeem Orewole, Gregori Rivas and SHxKM
Reacted by Vladimir Drayling, Hakeem Orewole and yoshito-maeoka
For everyone following this: two Caddy implementations now exist on fundamentally different architectures (@Siumauricio's label-driven feat/caddy prototype vs central config generation in #4534, running in production since June). I've written up an honest comparison of both plus a proposed review path, and would value maintainer direction before more code gets written: #4615
@Siumauricio@narcisonunez#4534 is 11,656 lines of source in 81 files, and I should have agreed the design here first, as CONTRIBUTING asks. I have rebuilt it from canary at a quarter of that and want a yes or no on the shape before opening a PR.
Opt-in per server, self-hosted only (refused under IS_CLOUD). Traefik stays the default and its writers run unchanged.
One pure function renders a server's whole Caddyfile from the database: domains, redirects, basic auth, preview deployments, compose domains, uploaded certificates.
Stock caddy:2.11.4, no Docker socket, files in /etc/dokploy/caddy. caddy reload validates first and keeps the old config on error.
Dokploy keeps writing Traefik's files while a server runs Caddy, so switching back is stopping one container and starting the other.
Switching: a dry run shows the Caddyfile and what cannot be carried over, then one script that restores Traefik if a step fails. Unexpired non-wildcard Let's Encrypt certificates are carried over.
Out of scope: forward auth, custom Traefik middlewares and entrypoints, the Requests page. The switch is refused while any domain uses the first three, and a Caddy server refuses to save them.
Size: 2,850 source lines in 37 files. Eight are new; the 29 existing files gain about 400 lines between them. One migration (an enum and two columns) and 2,000 lines of tests. The compare below shows +14,062 because 9,194 of those lines are the migration's generated Drizzle snapshot. It splits into three PRs that each stand alone, if you prefer: the provider (about 1,100 lines), the switch (about 1,500), the file browser for Caddy's own files (about 250). Branch: canary...masonjames:dokploy:feat/caddy-provider
Checked against Traefik 3.6.25: the same responses on 62 requests (prefixes, basic auth, redirects, encoded paths, forwarded headers). One test runs against the real Caddy image.
Activity
codeit-ninja commentedon Feb 11, 2025
I would like to see this feature aswell, coolify has both traefik and caddy. In my opinion Caddy is a little more easy to work with in a docker swarm than traefik is, traefik is a pain with sharing TLS certificates without having the Enterprise edition. Caddy supports this out of the box.
PSNV555 commentedon Jun 9, 2025
Hi, any ETA on this please
sambitcreate commentedon Jun 18, 2025
oh this would be nice!
Darathor17 commentedon Jul 17, 2025
Indeed that would be cool to have caddy (like coolify)
kkMihai commentedon Sep 11, 2025
bump
R-udren commentedon Nov 30, 2025
It would be great
russorat commentedon Jan 9, 2026
Can someone help explain why you would want to use Caddy here? even the coolify team doesn't recommend using it. https://coolify.io/docs/knowledge-base/proxy/caddy/overview#a-note-from-the-coolify-team
tcurdt commentedon Jan 9, 2026
Not sure what the "even" insinuates here.
And the "doesn't recommend" isn't quite what it says.
They are just only testing with
traefikand can't/won't support more.FWIW I personally had my share of frustrations with
traefikand try to stay away from it if possible. It was super awkward to debug and configure. But they had quite some more releases since.Plus there is a reason given in this issue.
Darathor17 commentedon Jan 9, 2026
Quite simple: traefik is a way more complex to manage and I had also my fair share of it. Caddy has more built in stuff and only work with it. Caddy on coolify works perfectly well.
russorat commentedon Jan 9, 2026
@tcurdt @Darathor17 thanks for the replies!
henderkes commentedon Jan 20, 2026
Traefik keeps failing to pick up on added domains for me and just returns 404 until I trigger an app deployment again. Traefiks access logs are enabled, yet still empty. Had the same troubles running traefik locally already.
Caddy would be a vastly superior alternativ, traefik's docker routing is a security nightmare anyhow and caddy works and reloads reliably.
syz51 commentedon Mar 16, 2026
yeah bumping this. Happy to help with implementation if needed
jameshewitt1399 commentedon Apr 20, 2026
+1 for this. I'm running 3 VPSs behind a Load Balancer and cant get SSL certs because of this
yodaphone commentedon May 24, 2026
yup, please consider supporting Caddy
linkthai commentedon Jun 1, 2026
+1
masonjames commentedon Jun 2, 2026
Hey everyone!
I've open PR adding Caddy as an alternative web server provider for Dokploy: #4534
Current implementation includes:
I've already tested this on my live Dokploy environment, but it would be very helpful to get more feedback before this is considered ready to merge.
If anyone is able to test the PR, the most useful areas to validate are:
Please share your Dokploy setup, what you tested, and any failures or confusing behavior you hit. Logs, generated
caddy.jsonsnippets, and exact reproduction steps would be especially useful.masonjames commentedon Jun 10, 2026
For everyone following this: two Caddy implementations now exist on fundamentally different architectures (@Siumauricio's label-driven
feat/caddyprototype vs central config generation in #4534, running in production since June). I've written up an honest comparison of both plus a proposed review path, and would value maintainer direction before more code gets written: #4615masonjames commentedon Oct 2, 2026
@Siumauricio @narcisonunez #4534 is 11,656 lines of source in 81 files, and I should have agreed the design here first, as CONTRIBUTING asks. I have rebuilt it from
canaryat a quarter of that and want a yes or no on the shape before opening a PR.IS_CLOUD). Traefik stays the default and its writers run unchanged.caddy:2.11.4, no Docker socket, files in/etc/dokploy/caddy.caddy reloadvalidates first and keeps the old config on error.Checked against Traefik 3.6.25: the same responses on 62 requests (prefixes, basic auth, redirects, encoded paths, forwarded headers). One test runs against the real Caddy image.
I will close #4534 when the new PR opens.
Would you review a PR of this shape? If any part is the wrong direction, a one-line no now is as useful to me as a yes.