How to use Dokploy's Traefik for Reverse Proxy Only?
I have an app that is already running at 127.0.0.1:8888.
How do I deploy an application that does nothing except forwarding all requests from example.com to 127.0.0.1:8888?
What I did so far:
1. Create an application.
2. Create a domain for that application.
3. Go inside Traefik File System > Dynamic > example-e4e1ia.yml and make the following changes:
4. I go inside the Application again and click "Deploy".
This is what is shown in the deployment tab:
And this is what is shown in the log tab:
7 Replies
127.0.0.1 is a loopback IP adress. Every container got its own loopback. It will not be routed out from Traefik
Hi. So is there any way I can use the built-in Traefik for reverse proxying for some of the services that's already running on the server? The reason is that I used to have Nginx Proxy Manager, but Dokploy took over port 80 & 443, so now I have to find a way to do the reverse proxy from Dokploy.
This is my question also.
Yes. Point it to the docker0 IP
Is it possible explain more? Thank you.
I had a Gitea on my server that was up with a docker-compose file. I up it with nginx. Now I am looking a way to set a domain on Dokploy to reverse requests from gitea.example.com to my Gitea container.
Remove nginx? Let traefik route to Gitea
But if you need to reach something running on localhost:8080, create a file in traefik's dynamic files and set the url to <docker0 ip:8080>
I was looking for a way to do this in Dokploy UI. I gave my Gitea docker-compose file content to Dokplay service and mount /data directory as volume.
Then I add dokploy docker network to the compose config. Build and add a domain.
This worked for me.