Need help with Traefik setup #708
-
Hi all, I am blown away by the quality of the documentation for this project and would love to install it on a VPS I am currently setting up. I've been using Traefik as a reverse proxy to the various Dockerized services that are running. (I must admit I'm something of a n00b at networking and have proceeded through a lot of copy-paste and trial-and-error. Some of those Traefik labels on the I haven't had any success with Dashy, however. Something seems to have worked since Traefik has indeed registered the route to the virtual host and obtained the necessary SSL certificate, as the following screenshot tends to prove. However when I try to connect to the host, I get a gateway timeout. Watching the container logs, Dashy itself is up and running, error-free. Below is my
Has anyone had more luck with this kind of setup? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 6 replies
-
I wish I knew more about Traefik to be able to help 🙁 |
Beta Was this translation helpful? Give feedback.
-
I'm beat my head three days trying to get this to work with traefik. So instead of trying to port forward. Use url forward instead. And use I'm not experienced enough to explain to you why this happens with
lol after testing it... it failed.... lol ok.. no matter where i put it?!? So heres what fixed it for me. start by removing the label from your docker-compose.yml
then using the /rules directory add a yml file like this
you can also combine this with a oauth proxy and dns-server to use ssl for internal and external traffic with the same domain.name. my next step will be to try to connect dashy to keycloak to remove the oauth proxy, for some more hair pulling Fun!!! hope this helps somebody else from going bald. happy hacking |
Beta Was this translation helpful? Give feedback.
-
If it helps, here my docker-compose template snippet, without the need to touch all the traefik.yml and dynamic configuration parts
|
Beta Was this translation helpful? Give feedback.
-
I am having this same exact issue - the solution here did not help me. I am still getting the gateway timed-out error. I can confirm that going to the local IP address and port Dashy loads and works as expected. With traefik - it does not. A shame - as i am a big fan of both services. |
Beta Was this translation helpful? Give feedback.
-
Had anybody had a solution in the meantime? 😅 |
Beta Was this translation helpful? Give feedback.
-
Hello @hubortje . After some time of tinkering myself I have got Dashy running with Traefik. I battled multiple issues, including Bad Gateway: connection refused & connection timeout. With the following compose file I have my setup running successfully:
Note that Traefik does not parse the labels until the container goes to 'Healthy' state. In this case after 2 minutes and 15 seconds. Hope this helps! |
Beta Was this translation helpful? Give feedback.
I'm beat my head three days trying to get this to work with traefik.
For some reason it doesn't like the internal ports for forwarding the
vue traffic?? In all the applications I've forwarded with traefik I've
never ran into one that would sporadically work correctly. No logs
would be triggered no errors happen? I was just about to give up. And
I figured I would test something before I did. In my home lab I have
traefik forward to other servers so I figured I would try some more
configs. And wouldn't you know it it works flawless for me. Hopefully
this will help others as I see little to no documentation over this
issue with traefik.
So instead of trying to port forward. Use url forward i…