Hello everyone,
I’m working on configuring Traefik on baremetal (not Docker or Kubernetes). I’ve tried several methods to enable the dashboard on port 48080, but I haven’t been successful yet. Here’s my latest attempt:
log:
filePath: /var/log/traefik/traefik.log
# level: DEBUG
global:
checkNewVersion: true
sendAnonymousUsage: false
api:
dashboard: true
insecure: true
entryPoints:
dashboard:
address: :48080
providers:
file:
filename: /etc/traefik/traefik_dynamic.yml
watch: true
And the dynamic configuration file:
http:
routers:
dashboard:
entrypoints:
- dashboard
service: api@internal
The default port 8080 is already in use by another tool, and I can't change it because other systems rely on it on the same network.
Does anyone have more detailed documentation on this topic? In my opinion, the official documentation doesn’t provide clear guidance on how to configure the dashboard on a different port.
Thanks in advance!
p.s.
$ ./traefik version
Version: 3.3.1
Codename: saintnectaire
Go version: go1.23.4
Built: 2025-01-07T14:52:35Z
OS/Arch: linux/amd64