D
Dokploy10mo ago
Agustín

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
Siumauricio
Siumauricio10mo ago
I will add a toggle in the next version to disable it
Vaurion
Vaurion10mo ago
Thank you, I had added an iptables rule for now 🙂
Agustín
AgustínOP10mo ago
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
Siumauricio
Siumauricio10mo ago
Correct,
Agustín
AgustínOP10mo ago
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

Did you find this page helpful?