mirror of
https://github.com/chr0nzz/traefik-manager.git
synced 2026-05-09 05:35:22 +02:00
[GH-ISSUE #33] unable to change traefik dashboard port #30
Labels
No labels
bug
bug
bug
feature request
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/traefik-manager#30
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @akanealw on GitHub (May 4, 2026).
Original GitHub issue: https://github.com/chr0nzz/traefik-manager/issues/33
Traefik Manager version
1.0.0
How are you running Traefik Manager?
Docker
Traefik version
3.6.14
What happened?
I've been trying to move the traefik dashboard off of port 8080 as it conflicts with another service. I've changed the manager.yml file and the labels on the docker container but I am unable to connect to it on port 8085. I've disabled insecure api as traefik documents suggest you need to do that to change the port.
Steps to reproduce
changed ports in manager.yml and compose.yml
What did you expect to happen?
The api being available on 8085. I'm not sure if there's another place to change the port I missed or I am misreading the documentation.
Relevant logs or screenshots
Relevant configuration
@akanealw commented on GitHub (May 4, 2026):
sorry for the edits, I was blind to the preview button at first.
@chr0nzz commented on GitHub (May 4, 2026):
This isn't a TM issue - it's how Docker port mapping works. 8085:8080 means your host machine can reach Traefik on port 8085, but inside the Docker network all containers still talk to the internal port (8080).
Change your manager.yml to:
traefik_api_url: http://traefik:8080
The 8085 port is only relevant if you're accessing the API from outside Docker (e.g. from your browser or a tool on the host). Container-to-container communication always uses the internal port regardless of what's mapped on the host.
@akanealw commented on GitHub (May 4, 2026):
completely forgot the traefik.yml change
api: dashboard: true insecure: false@chr0nzz commented on GitHub (May 4, 2026):
or u can use your traefik url https://dashboard.example.com
@akanealw commented on GitHub (May 4, 2026):
Sorry, I'm pretty new to traefik and still learning the configs and wanted to make sure the manager.yml setting wasn't affecting it.
@chr0nzz commented on GitHub (May 4, 2026):
no worries.
let me know if everything is working for u
@chr0nzz commented on GitHub (May 4, 2026):
one issue in your Traefik compose i noticed
this
- "traefik.http.routers.dashboard.loadbalancer.server.port=8085"change to this
- "traefik.http.routers.dashboard.loadbalancer.server.port=8080"@akanealw commented on GitHub (May 4, 2026):
Thanks but I ended up just reverting to the original config with insecure api and put authelia on the dashboard domain.