Skip to content

This is an example of how to use Traefik in Docker Swarm Mode with Let's Encrypt and Cloudflare

Notifications You must be signed in to change notification settings

mathurinhauville/traefik-swarm-cloudflare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Traefik 3 in Docker Swarm Mode with Let's Encrypt and Cloudflare

This is an example of how to use Traefik in Docker Swarm Mode with Let's Encrypt and Cloudflare. This projet is based on this video from @Techno Tim. It's just refactored to use in Docker Swarm Mode.

Prerequisites

Watch the video to understand the concepts and the configuration and leave a like ;)

How to use

docker swarm init
docker network create -d overlay proxy
cd traefik
docker stack deploy -c traefik.yml traefik -d
cd my-service
docker stack deploy -c myservice.yml myservice -d --with-registry-auth

About

This is an example of how to use Traefik in Docker Swarm Mode with Let's Encrypt and Cloudflare

Topics

Resources

Stars

Watchers

Forks