Traefik Docker Swarm: Step-by-step guide with Portainer, DNS (Cloudflare), and Hostinger

Опубликовано: 04 Август 2026
на канале: Fabricando Sua Ideia - Devops
495
27

Learn how to set up a complete environment with Traefik, Docker Swarm, and Portainer — a practical and up-to-date step-by-step guide.

✅ Your VPS with up to 70% OFF here: https://www.hostg.xyz/SHIko | discount coupon: FABRICANDOSUAIDEIA

In this video, you will configure Traefik + Portainer in Docker Swarm, set up DNS (Cloudflare), access via subdomain, and secure deployment using Hostinger VPS.

You will see: DNS preparation and subdomain pointing; SSH connection (MobaXterm) and Docker installation; activating Docker Swarm; generating htpasswd credentials and adjusting special characters; deploying Portainer (Agent) and Traefik; creating the Traefik-Public network and finalizing configuration for URL access.

👉 Watch next (recommended):    • Docker  
👉 Downloads and files used (docker-compose.yml, commands): https://downloads.iacomunidadepro.com...
👉 Members area / advanced content: IA Comunidade Pro — https://rebrand.ly/iacomunidapro

---
Chapters
00:00 Introduction: video objective and minimum requirements
01:25 Pointing subdomains (Cloudflare) — why disable the proxy
05:10 Checking DNS propagation (dnschecker.org)
06:40 Downloading files and creating an account on the download site (stack .yml)
08:00 SSH connection with MobaXterm (root, port 22)
12:00 Installing Docker with get.docker.com and activate Docker Swarm
15:20 Generate htpasswd (apache2-utils) and duplicate $ in the passwords
18:30 Upload and deploy Portainer (temporary port 9000)
23:00 Create Traefik-Public network in Portainer (overlay)
26:20 Deploy the Traefik stack: change subdomain and paste credentials
30:40 Final adjustments: comment ports, uncomment networks and run docker-campus up -d
33:10 Access Portainer via subdomain and next steps

---
For those who are researching
Want to install Traefik with Portainer in Docker Swarm? This guide shows everything from DNS pointing (Cloudflare) to configuring Traefik as a reverse proxy to access Portainer via subdomain. Ideal for those who have a VPS (Hostinger), need to connect via SSH (MobaXterm), and want a secure deployment without leaving ports exposed. Includes how to generate htpasswd and avoid errors with $ characters in variables.

--- Hashtags
#traefik #docker #portainer #dockerswarm #hostinger