How can i define a specific api and dashboard port, default in secure mode is 80, i want to put on 8000 for example, i dug the Traefik doc i can't find any information.
Hello,
The default entry point is on the port 80, which is created when there are no entry point.
so, you have to define an entry point
then set this entry point on your router
labels:
- "traefik.http.routers.api.rule=Host(`traefik.docker.localhost`)"
- "traefik.http.routers.api.service=api@internal"
- "traefik.http.routers.api.etrypoints=myentrypoint"
1 Like