How to disable Traefik dashboard that runs on 8080?
Hi, how can I disable the Traefik dashboard that runs on port 8080 to enhance security? I was checking the code but the exposed port seems to be harcoded
6 Replies
traefik.yml
api:
dashboard: false
insecure: false
I will add a toggle in the next version to disable it
Thank you, I had added an iptables rule for now 🙂
Awesome @Siumauricio , that will also unpublish the container port too (8080), right? https://github.com/Dokploy/dokploy/blob/d3397cfbd0c30efbb0e2faac00eed6ad5e220fbe/server/setup/traefik-setup.ts#L62-L66
Correct,
Excellent, could we have the same toggle for registry/postgres setup so we avoid exposing it to the internet by default (since docker manages the iptables so there's no easy way to block that traffic)? Thanks