Skip to content

Traefik

Reverse proxy and load balancer that configures routes from Docker or Kubernetes

Permissive (OSI) · MIT
  • Self-hosted
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

88

Health

Thriving

Overview

Stars

65,677

Last commit

yesterday

Nov 2026

Repository age

11 years

since Sep 2015

Latest version

v3.8.0

Nov 2026

Contributors

–

35 active in 90 days

Releases

22

last 12 months

Docker pulls

89k

traefik/traefik

Language

Go

Traefik is an HTTP reverse proxy and load balancer written in Go. It watches your orchestrator or service registry and builds routes on its own, so you do not edit a route list each time a service changes. You can still define routes by hand.

It connects to Docker and Swarm mode, Kubernetes, Amazon ECS and file-based configuration. Configuration updates without restarts. It gets HTTPS certificates from Let's Encrypt, including wildcard certificates, and supports WebSocket, HTTP/2 and gRPC. It also offers several load balancing algorithms, circuit breakers and retries. Metrics go to Prometheus, Datadog, StatsD, InfluxDB 2.x and a REST endpoint, and access logs come in JSON or CLF. A web UI and REST API are included.

It ships as a single binary and as an official Docker image, and it is MIT licensed. Commercial support is available from Traefik Labs. It suits those replacing hand-edited proxy configs or managed load balancers.

Who it's for

Docker and Swarm users running many services

Routes appear automatically when containers start or stop.

Skip if: You run a few static sites and prefer a plain config file.

Kubernetes platform teams

It integrates with the cluster and handles HTTPS with Let's Encrypt.

Skip if: Your cloud provider's managed ingress already covers your needs.

Homelab operators

A single binary or container fronts several apps with automatic certificates.

Skip if: You want a graphical tool to manage proxy hosts by clicking.

The problem it solves

In environments where services start, stop and scale many times a day, keeping proxy routes current by hand is tedious. You also need HTTPS certificates for each service. You want one proxy that follows your infrastructure.

Strengths

  • Builds routes automatically from Docker, Kubernetes, ECS or files
  • Updates configuration without restarts
  • Let's Encrypt certificates, including wildcards
  • Metrics for Prometheus, Datadog, StatsD and InfluxDB 2.x
  • Single binary or official Docker image under the MIT license

Trade-offs

  • Major version upgrades need migration steps
  • Backends are limited to Docker, Kubernetes, ECS and files
  • The built-in web UI is a simple frontend
  • Commercial support comes from Traefik Labs, not the community

Self-host Traefik

Self-hostable
Yes
Docker image
traefik/traefik

Quick start

docker run -d -p 8080:8080 -p 80:80 -v $PWD/traefik.toml:/etc/traefik/traefik.toml traefik

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is Traefik free and self-hostable?

Yes. It is MIT licensed and you run it on your own servers.

Which backends does it support?

Docker and Swarm mode, Kubernetes, ECS and file-based configuration.

Does it handle HTTPS certificates?

Yes. It uses Let's Encrypt, with support for wildcard certificates.

How do I run it?

Use the single binary with a config file, or the official Docker image.

Similar tools in Reverse proxies and web servers

Caddy

Reverse proxies and web servers

Go web server and reverse proxy that turns on HTTPS automatically

79k 5.3k today Thriving Apache-2.0

NGINX

Reverse proxies and web servers

Web server, reverse proxy and load balancer for sites and API traffic on Linux and BSD

33k 8.4k 4 days ago Thriving BSD-2-Clause

proxy.py

Reverse proxies and web servers

Python HTTP proxy with plugins for filtering, caching and TLS interception

3.6k 625 2 years ago Dormant BSD-3-Clause

uwsgi

Reverse proxies and web servers

Application server for running Python and other web apps behind a web server

3.6k 696 13 months ago Dormant GPL-2.0-or-later

harp

Reverse proxies and web servers

5k 334 5 months ago Slowing Unknown

Apache HTTP Server

Reverse proxies and web servers

Long-running web server with modules, for hosting sites on Linux, macOS and more

4.1k 1.3k today Active Apache-2.0