caddy-docker-proxy VS traefik

Compare caddy-docker-proxy vs traefik and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
caddy-docker-proxy traefik
54 183
2,348 47,726
- 1.5%
7.6 9.2
14 days ago 7 days ago
Go Go
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

caddy-docker-proxy

Posts with mentions or reviews of caddy-docker-proxy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-13.
  • Caddy-Docker-Proxy: Caddy as a Reverse Proxy for Docker
    1 project | news.ycombinator.com | 14 Apr 2024
  • Self-Hosted Is Awesome
    6 projects | news.ycombinator.com | 13 Apr 2024
    https://github.com/lucaslorentz/caddy-docker-proxy

    It handles the routing to multiple dockerized projects on one server, by scanning docker compose files for labels and automatically setting up the required caddy configuration.

  • Keycloak SSO with Docker Compose and Nginx
    21 projects | news.ycombinator.com | 11 Feb 2024
    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.

  • Working on Multiple Web Projects with Docker Compose and Traefik
    8 projects | news.ycombinator.com | 3 Oct 2023
    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.

  • Caddy is the first and only web server to use HTTPS automatically and by default
    4 projects | news.ycombinator.com | 12 Sep 2023
    If you want a slightly heavier but more robust solution, caddy-docker-proxy[0] is a plugin that listens to the Docker socket and automatically updates the Caddy configuration based on Docker labels you add to containers.

    I.e. it makes Caddy act a bit more like Traefik. Most of the time, you'll just add the label `caddy.reverse_proxy={{upstreams http 8080}}` to your containers and the plugin will regenerate Caddy's configuration whenever the container is modified.

    [0] https://github.com/lucaslorentz/caddy-docker-proxy

  • Nginx Development Guide
    6 projects | news.ycombinator.com | 16 Aug 2023
    I disagree, Caddy works great in Docker. See https://caddyserver.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 builder image variant that can be used to compile in any plugins you want.
  • How I run my servers
    8 projects | news.ycombinator.com | 16 Jul 2023
    ````

    This way, Caddy will buffer the request and give 30 seconds for your new service to get online when you're deploying a new version.

    Ideally, during deployment of a new version the new version should go live and healthy before caddy starts 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.

  • Which reverse proxy are you using?
    16 projects | /r/selfhosted | 7 Apr 2023
    Docker labels support is available via a plugin https://github.com/lucaslorentz/caddy-docker-proxy
  • My repository of the week: NGINX Proxy - Automated nginx for your containers
    5 projects | /r/docker | 1 Apr 2023
    Or caddy-docker-proxy: https://github.com/lucaslorentz/caddy-docker-proxy
  • Caddy Repository from Lucas lorentz cant use Caddyfile?
    1 project | /r/caddy | 25 Mar 2023
    I am trying now for some Days to use a Caddyfile additionaly to the auto generated files from lucas lorentzes caddy repositroy. https://github.com/lucaslorentz/caddy-docker-proxy

traefik

Posts with mentions or reviews of traefik. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-04.
  • How to securely reverse-proxy ASP.NET Core web apps
    3 projects | dev.to | 4 Apr 2024
    However, it's very unlikely that .NET developers will directly expose their Kestrel-based web apps to the internet. Typically, we use other popular web servers like Nginx, Traefik, and Caddy to act as a reverse-proxy in front of Kestrel for various reasons:
  • Deploying Web Apps with Caddy: A Beginner's Guide Caddy
    5 projects | news.ycombinator.com | 27 Feb 2024
    Not as good though. Case in point: https://github.com/traefik/traefik/issues/5472#issuecomment-... (that's just from this morning)

    I'm speak objectively here. Of course, any built-in auto HTTPS that works (more or less) is better than none. Traefik uses an ACME library that was originally written for Caddy. After the original author left that project, Traefik team started maintaining it. Caddy's users' requirements exceeded what the library was capable of, but unfortunately there was friction in getting it to achieve our requirements. So I ended up writing a new ACME client library in Go and, together with upgrades in CertMagic (Caddy's auto-TLS lib), Caddy has the more flexible, robust, and capable auto-HTTPS functionality.

    That is to say, not all auto-HTTPS functionalities are the same.

  • Security Workshop Part 1 - Put up a gate
    1 project | dev.to | 3 Nov 2023
    We'll use Traefik, an open source cloud native gateway that can plug into a Kubernetes cluster. It has the concept of "middleware" that can process API requests before passing them through to a backend. We can configuring a rate limit for all of our API endpoints by matching on the request path:
  • Install plugin in k8s cluster running in Kind
    1 project | /r/Traefik | 2 Nov 2023
    I did the same question here and here
  • The Tailscale Universal Docker Mod
    22 projects | news.ycombinator.com | 8 Oct 2023
  • Set Default Config in traefik.toml and overwrite with specific container config
    1 project | /r/Traefik | 25 Sep 2023
    Sadly there is currently no way of doing so. https://github.com/traefik/traefik/issues/6999
  • Istio moved to CNCF Graduation stage
    13 projects | news.ycombinator.com | 12 Jul 2023
  • Docker Services question
    2 projects | /r/docker | 5 Jul 2023
    Traefik is another widely used system that has automatic configuration and offers support for more things like swarm/kubernetes/etc.
  • nginx alternatives
    2 projects | /r/webdev | 5 Jul 2023
    I have a webapp which I currently have deployed by running nginx in a container. Works as it should, however I am intersted in adding more observability to the webapp and found this reverse-proxy https://github.com/traefik/traefik which seems to expose some nice metrics which can be useful for observability.
  • Make traefik only accessible over tailscale
    1 project | /r/Tailscale | 4 Jul 2023
    ``` more details in this (github issue)[https://github.com/traefik/traefik/issues/5059]

What are some alternatives?

When comparing caddy-docker-proxy and traefik you can also consider the following projects:

Nginx Proxy Manager - Docker container for managing Nginx proxy hosts with a simple, powerful interface

Caddy - Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

Portainer - Making Docker and Kubernetes management easy.

ingress-nginx - Ingress-NGINX Controller for Kubernetes

jellyfin-media-player - Jellyfin Desktop Client based on Plex Media Player

Squid - Squid Web Proxy Cache

docker-pi-hole - Pi-hole in a docker container

envoy - Cloud-native high-performance edge/middle/service proxy

docker-swag - Nginx webserver and reverse proxy with php support and a built-in Certbot (Let's Encrypt) client. It also contains fail2ban for intrusion prevention.

socks5-proxy-server - SOCKS5 proxy server