Our Docker with Traefik 1 guide has helped 1000s of people over the last 2 years. We have now published a new updated guide for Traefik 2. Here is the link:
[Traefik 2 Docker Home Server](https://www.smarthomebeginner.com/traefik-2-docker-tutorial/)
We are just sharing what we learned to help others. If you have any comments for improvement, please feel free to share. Thanks!
13 thoughts on “Docker Home Server with Traefik 2 Reverse Proxy – Guide”
Your traefik v1 tutorial was my first real experience with docker and a reverse proxy system. Awesome awesome work!
But I just got Traefik 1 set up!!! Seriously, Your directions were the reason I was able to finally get certificates for my domain. Thank you.
Two questions, if I may:
1. Since you’re using Cloudflare, is there any advantage to setting up OAuth the way you did vs using Cloudflare Access? Also, could this be set up with authenticated origin pull?
2. I know you said you can connect to your services inside your network with IP:port, but is there anyway to do so with the FQDN? I’m not a huge fan of having to memorize ports.
is cillium is useful for dekstop use?
Detailed guide. Great job!
I’m not using traefik myself, but I think this guide should educate users, especially beginners, about the possible implications of this simple yet so potentially dangerous container configuration:
This is great, going to experiment with it. Thanks, for the update.
I’m fairly new to using my synology Nas for anything other than local file storage.
I have had a dS214play for years but recently upgraded to a DS1019+ and I’ve been using the DSM reverse proxy and generation of LetsEncrypt certificates. What would you say is the advantage of installing extra software to manage reverse proxy and certificates?
I just followed this last night and was up and running without much issue in under 2 hours, and I wasn’t working from a clean slate – was already running v1, backed up all of my stuff, and went to town on the guide. Very well done! Thanks as always!
Just want to say a big thank you for all your work.I have used this website countless times to walkthrough certain tasks or discover new projects.
So I’ve followed this guide to a t twice now, and both times I cannot get it to reissue any certs when switching from Staging to the Production ACME resolver. Tried on 20.04 and 18.04, tried updating the image to traefik:latest to make sure the container was fully rebuilt. Nothing. Logs just keep showing `No ACME certificate generation required for domains` and `http: TLS handshake error from (LOCAL_IP):38686: remote error: tls: unknown certificate`.
Also, when I try to pull up traefik.domain, I get 404ed.
As a Linux professional sysadmin just reading thru this is probably going to save me plenty of Time to make every component interact … Thank you
I am looking for a local solution. I will never be accessing my media outside home so I don’t need CF, domain name or even SSL for now.
How can I setup Plex, docker and Traefik in such a way that I can access my media at [10.0.0.5/plex](https://10.0.0.5/plex).
Anyone got a simple yaml file for reference? The reverse proxy for some reason doesn’t want to work in Traefik.