Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to deploy Traefik as a reverse proxy and load balancer in Docker Swarm environments through two distinct approaches in this comprehensive tutorial. Master the implementation of a single-node constrained setup using local volumes for simpler deployments, then advance to a fully high-available global deployment configuration with shared storage and automated TLS certificate management via DNS challenge. Explore the complete project setup process using boilerplate templates, understand the configuration differences between single replica and global mode deployments, and witness live failover testing to validate high availability. Discover how to integrate Traefik with Docker Swarm's service discovery, configure proper DNS settings for production environments, and troubleshoot common deployment issues. Practice hands-on deployment techniques, test configurations using Whoami service examples, and understand the trade-offs between different deployment strategies for homelab and production scenarios.
Syllabus
00:00 Introduction
02:33 Project Overview
05:32 Building the template
07:29 Traefik Boilerplate
09:02 Project Setup
09:32 Setup 1: Single Replica
18:09 Check the template files
20:50 Deployment
23:25 Testing with Whoami
29:16 The Problem in Setup 1
29:59 Setup 2: Global Mode
33:40 DNS Settings
34:41 Final thoughts
Taught by
Christian Lempa