posts/traefik-portainer-ssl/ #198
Replies: 20 comments 17 replies
-
Hi Tim, enjoying your content and ran across this as a solution for my certificates, however there is something in the compose files that prevents the containers from running with the following showing in the log: "exec /entrypoint.sh: operation not permitted". This happens for both the traefik and portainer images. |
Beta Was this translation helpful? Give feedback.
-
A point I was stuck on that might help somebody - recreating the container does not refresh the docker-compose environment variables, you need to actually rm it for that. So if you change anything in the docker-compose file you will need to rm and then docker-compose up again. |
Beta Was this translation helpful? Give feedback.
-
Hey Tim, Great doc! Worked well for me. Is there any modifications you can suggest to serve something like Home Assistant, via the traefik proxy, for both the internal domain which you explain here (homeassistant.local.domain.com) and an external domain (homeassistant.domain.com)?? Note: replace home assistant with anything else one would want to serve publicly. Traefik is about to become my Swiss army knife of proxies! |
Beta Was this translation helpful? Give feedback.
-
Thank you for the tutorials! I have learned a ton over the years from your content. I am trying to get this set up on my network, which has services hosted on separate VLANs. I've noticed that in pihole, unless I specify t he url and port for the traefik dashboard, I can't get to it. Further, none of the other services hosts on other VLANs are accessible via their URLs. The traefik dashboard shows their routers and certs as working, and the config looks correct. Do you think it's a firewall issue? Something else? I appreciate the help! |
Beta Was this translation helpful? Give feedback.
-
This is a really good guide and it's helped me get my homelab services nicely organised with SSL certs on all the self hosted web services. Thanks Tim! The only thing I'm struggling with is that I can't get any shell up and running on Proxmox. Has anyone else found this? At first I thought that I was trying to be too clever and it was the load-balancing between the Proxmox nodes, but the behaviour persists with a modified config.yml (and a rebuild) pointing to just a single node. This makes it impossible to use Proxmox fully. Anyone else experienced this? I even copied the config.yml directly from the guide just to check for typos but no joy. I'll keep plugging away at this but my googling has only found a few mentions of this problem. I guess I should be using something like Ansible for updates but for the moment I want to have the GUI fully functioning. All thoughts and pointers are most welcome, this is really puzzling me. |
Beta Was this translation helpful? Give feedback.
-
I am wondering what the best approach is to have some services stay local (with certificate and hostname) and others be accessible over WAN. If I only port forward my router to the Traefik server (port 443, 80), won't that expose everything? Should I adjust the whitelist section in the config.yml and apply to specific routes? could I use a two sub-domains, ie. local.example.com and external.example.com and differentiate them in some way? Thanks in advance |
Beta Was this translation helpful? Give feedback.
-
Is this possible with docker swarm? |
Beta Was this translation helpful? Give feedback.
-
I just wanted to say thank you for making this content. The official docs from traefik aren't exactly the most newbie friendly and this is exactly what I needed. A few comments below
|
Beta Was this translation helpful? Give feedback.
-
Another great video from Techno Tim! |
Beta Was this translation helpful? Give feedback.
-
Thanks for a detailed video and these instructions, Tim! Can you help me with this setup: I have a node, lets call it N1, that runs proxmox, which hosts pihole as a container. Can I run traefik on N1? and have a domain - proxmox.local.example.com point to the proxmox URL hosted on N1? Is this OK? Or would you recommend that the traefik be hosted on a separate server, say N2, and not N1? |
Beta Was this translation helpful? Give feedback.
-
Hi! I'm having real problems with this! I've followed both the video and the instructions to the latter. I think I have everything set up including a Cloudflare domain and account etc. The problem is that when I spin up the docker container it just constantly restarts. It spins up for a for seconds and then restarts over and over. Can anyone explain why?? |
Beta Was this translation helpful? Give feedback.
-
Hi folks! Do you have details on how to setup Clouflare part? Does this whole setup work when there temporarily no Internet access? Thanks! |
Beta Was this translation helpful? Give feedback.
-
In the video the domain local.technotim.live is it configured on cloudflare DNS (pointing to .... what ) or internally on the piHole ? And also when you add a service like "proxmox.local.tehcnotim.live", the DNS entry for this is configured where ? |
Beta Was this translation helpful? Give feedback.
-
HI there! I had this setup working previously, but due to a Proxmox crash I am rebuilding from scratch. This time however, I CANNOT get to the Portainer GUI at all... neither the sub-sub domain name or by IP address. I have reinstalled everything via the tutorial 3 times, and no luck. Traefik loads, but there is no certificate. I re-generated a fresh CF token as well, to make sure that is working (it is via their test script). Any clue where to start? No certs and no Portainer GUI. |
Beta Was this translation helpful? Give feedback.
-
I tried to install and reinstall this for 3 days, I have a Cloudflare account, a domain, I did the DNS records, |
Beta Was this translation helpful? Give feedback.
-
@timothystewart6 I am having some trouble getting this working with vs code server. I get "bad gateway" message when going through the local domain. When I go through the ip/port directly it works. I have it working with portainer and homer so I know traefik is setup correct. I fear it's some grouping of labels might be causing the issue. services: networks: log from docker [migrations] started |
Beta Was this translation helpful? Give feedback.
-
I have been playing around with a 3 node pihole setup and for some reason Unifi doesn't really load balance it's traffic on dns servers and just blew up my primary pihole. I went down a rabbit-hole of haproxy (doesn't do UDP), nginx, LVS, DNSdist.....so many more and finally landed back to traefik. Interesting enough the UDP load balancing is amazing. YMMV but for my journey I ended up doing the following:
Planning on putting keepalived on the LB and third so that I have an active passive LB |
Beta Was this translation helpful? Give feedback.
-
hi Tim, Now when I try to access https://traefik-dashboard.mydomain.com/ It says DNS error in browser Am I supposed to run Portainer and PiHole to get end-end working like your youtube video, shows !? Please help, Thanks |
Beta Was this translation helpful? Give feedback.
-
hi Tim, Now when I try to access https://traefik-dashboard.mydomain.com/ It says DNS error in browser Am I supposed to run Portainer and PiHole to get end-end working like your youtube video, shows !? Please help, Thanks |
Beta Was this translation helpful? Give feedback.
-
So foremost: Thank you for the great tutorial — this is the first time I was able to really understand the depths of Traefik. I am currently stumbling upon a weird error — perhaps you or the community can help… I have set up the Traefik container, checked mappings via your supposed troubleshooting-guide (great idea!) and the certificates appear to be pulled correctly. Nonetheless, I am experiencing an SSL-Mismatch Error, does anyone know why? https://share.cleanshot.com/QnZFzVlk+ (Anonymized Certificate Settings) |
Beta Was this translation helpful? Give feedback.
-
posts/traefik-portainer-ssl/
Documentation for Techno Tim YouTube videos for all your copy pasta needs!
https://technotim.live/posts/traefik-portainer-ssl/
Beta Was this translation helpful? Give feedback.
All reactions