Traefik with Let’s encrypt and Docker

David Dymko
5 min readJul 25, 2019

Overview

What is Traefik? Traefik is a load balancer and HTTP reverse proxy that makes working with microservices and integrating with your infrastructure seamless.

Traefik design in a nutshell : https://docs.traefik.io/
Traefik design in a nutshell : https://docs.traefik.io/

As you you see above Traefik will allow you to define public routes that the internet can access which will then get routed to a docker container. These publicly accessible routes are called “frontend-rules” which get routed to “backends”.

What will you learn?

By the end of this article you will learn how to setup Traefik to route http traffic to your Docker containers and have these calls go through HTTPS with Lets Encrypt.

Getting started

You are going to need a web server that has Docker running on it. I deployed a high frequency instance on Vultr with Docker already preinstalled.

Information about the high frequency instances and the Docker one click deploy here:

--

--

David Dymko

Cloud-native architect pioneering scalable solutions in the Go ecosystem.