docker-nginx-full VS traefik

Compare docker-nginx-full vs traefik and see what are their differences.

docker-nginx-full

Docker image with compiled Nginx (OpenResty) and OpenSSL with all the stock Nginx plugins enabled. (by NginxProxyManager)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
docker-nginx-full traefik
3 185
59 47,984
- 1.2%
5.8 9.4
about 2 months ago 1 day ago
Shell Go
- 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.

docker-nginx-full

Posts with mentions or reviews of docker-nginx-full. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-20.
  • Why is it so large ?
    1 project | /r/nginxproxymanager | 5 Jul 2023
  • NGINX Proxy Manager
    15 projects | news.ycombinator.com | 20 May 2022
    I appreciate the reply. I took some time to look at your example so I can give some feedback on where I end up when I think about building / maintaining my own image.

    My immediate reaction is that the example is nice as a one-off build, but it's much more complex if I need to set up something I can maintain long term. I might be overthinking it, but in the context of thinking about something I can maintain my thought process is below. The questions are mostly rhetorical.

    First, what versions am I getting? Does using `2.5.1-builder` result in a customer built binary that's version `2.5.1`? The command usage [1] of the `xcaddy` command says it falls back to the `CADDY_VERSION` environment variable if it's not set explicitly. Since it's not set explicitly, I go looking for that variable in the Dockerfile [2].

    That's some templating language I'm not familiar with and I can't track down where the variable gets set, at least not quickly. I'd probably have to spend an hour learning how those templates work to figure it out. To make a quicker, educated guess, it most likely matches the builder version. The docs said the version can be set to any git ref, so I can explicitly set it to v2.5.1 on the command line [3] to be certain.

    Now, what version of `caddy-dns/cloudflare` am I getting? The xcaddy custom builds section of the docs [4] says the version can optionally be specified, but it's not specified in the above example. There aren't any tags in the repo, so it's probably building off `master`. The doc says it functions similar to `go get`, but doesn't explain what the differences are and the default behavior isn't explained either.

    The docs for `go get` [6] say it can use a revision, so maybe a specific commit can be used for that, but I'd need to test it since I'm not super familiar with Golang.

    What other risks come along with building and maintaining my own custom image? I could end up with a subtly broken build that only occurs in my environment. Portability doesn't guarantee compatibility [7] and building custom images increases the risk of compatibility issues beyond what I get with official images (building and running vs just running). That blog post is a really cool read on it's own BTW.

    I need to consider the potential for breakage even if it's miniscule because my Docker infrastructure is self hosted and will be sitting behind my custom built Caddy image. If my custom image breaks, I need a guaranteed way of having access to a previous, known good version. This is as simple as publishing the images externally, but adds an extra step since I'll need an account at a registry and need to integrate pushes to that registry into my build.

    If I build a custom image, do I let other people I help with the odd tech thing use it or is all the effort for me only? I don't want to become the maintainer of a Docker image others rely on, so I can't even re-use any related config if I help others in the future since they won't have access to the needed image.

    To be fair, I also see things I don't like in the NGINX Proxy Manager Dockerfile [7]. The two that immediately jump out at me are things I consider common mistakes. Both require unlucky timing to fail, but can technically cause failure IMO. The first is using `apt-get update` which will exit 0 on failure and has the potential to leave `apt-get install` running against obsolete versions. The second is using `apt-get update` in multiple parts of a multistage build. If I were doing it I'd run `apt-get update` in a base image and avoid it in the builder + runtime images to guarantee the versions stay the same between the build container and the runtime container.

    It took me about 1h to work through that and write this comment, so it's not just a matter of building a Docker image and plugging in the config. There's a lot of nuance that goes into maintaining a Docker image (I'm sure you know that already) and not having an image with the DNS plugin(s) baked in is a show stopper for anyone like me that can't justify maintaining their own.

    Also, a 4 line Docker file looks nice in terms of being simple, but explicitly declaring or even adding comments describing some of the things I pointed out above can save people a lot of time. Even comments with links to the relevant portions of the docs would be super useful.

    My reason for wanting the Cloudflare DNS plugin is that I have some things I want to run 100% locally without ever exposing them to the internet. The desire for wildcard certificates is to keep things from being discoverable via CTLogs.

    I hope that's useful feedback. I realize someone bemoaning the difficulty of running your stuff at home lab / small business scale isn't exactly the target audience in terms of picking up customers that pay the bills. Thanks again for the reply / example.

    1. https://github.com/caddyserver/xcaddy#command-usage

    2. https://github.com/caddyserver/caddy-docker/blob/master/Dock...

    3. https://github.com/caddyserver/caddy/tree/v2.5.1

    4. https://github.com/caddyserver/xcaddy#custom-builds

    5. https://github.com/caddy-dns/cloudflare/tags

    6. https://go.dev/ref/mod#go-get

    7. https://www.redhat.com/en/blog/containers-understanding-diff...

    8. https://github.com/NginxProxyManager/docker-nginx-full/blob/...

  • Currently using an Nginx web server as a reverse proxy, should I just switch to NPM?
    3 projects | /r/selfhosted | 6 Jun 2021
    Not sure where the difference lies, when both NPM and its base image are open source and can be similarly "compiled" as well.

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-05-03.
  • Release Radar ยท April 2024 Edition: Major updates from the open source community
    12 projects | dev.to | 3 May 2024
    Pronounced "traffic", Traefik is a modern HTTP reverse proxy and load balancer aimed at making deploying microservices easier. It integrates with your existing infrastructure components such as Docker, Kubernetes, and others, and configures itself automatically and dynamically. The latest version adds lots of new options and enhancements such as adding healthcheck options, support for custom headers, and more. Read the migration guide on how to update to the latest version which is now required due to breaking changes.
  • Traefik Proxy v3.0.0 Released
    1 project | news.ycombinator.com | 29 Apr 2024
  • 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.

What are some alternatives?

When comparing docker-nginx-full and traefik you can also consider the following projects:

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

nginx-certbot - Boilerplate configuration for nginx and certbot with docker-compose

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

xcaddy - Build Caddy with plugins

ingress-nginx - Ingress-NGINX Controller for Kubernetes

cloudflare - Caddy module: dns.providers.cloudflare

Squid - Squid Web Proxy Cache

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

caddy-docker - Source for the official Caddy v2 Docker Image

socks5-proxy-server - SOCKS5 proxy server