2019-02-26 13:50:07 +00:00
|
|
|
# The Dashboard
|
|
|
|
|
|
|
|
See What's Going On
|
|
|
|
{: .subtitle }
|
|
|
|
|
|
|
|
The dashboard is the central place that shows you the current active routes handled by Traefik.
|
|
|
|
|
2019-03-26 15:32:06 +00:00
|
|
|
!!! warning "Dashboard WIP"
|
|
|
|
Currently, the dashboard is in a Work In Progress State while being reconstructed for v2.
|
|
|
|
Therefore, the dashboard is currently not working.
|
2019-03-19 16:54:10 +00:00
|
|
|
|
2019-02-26 13:50:07 +00:00
|
|
|
<figure>
|
|
|
|
<img src="../../assets/img/dashboard-main.png" alt="Dashboard - Providers" />
|
|
|
|
<figcaption>The dashboard in action with Traefik listening to 3 different providers</figcaption>
|
|
|
|
</figure>
|
|
|
|
|
|
|
|
<figure>
|
|
|
|
<img src="../../assets/img/dashboard-health.png" alt="Dashboard - Health" />
|
|
|
|
<figcaption>The dashboard shows the health of the system.</figcaption>
|
|
|
|
</figure>
|
|
|
|
|
|
|
|
By default, the dashboard is available on `/` on port `:8080`.
|
|
|
|
|
|
|
|
!!! tip "Did You Know?"
|
|
|
|
It is possible to customize the dashboard endpoint.
|
|
|
|
To learn how, refer to the `Traefik's API documentation`(TODO: add doc and link).
|
|
|
|
|
|
|
|
## Enabling the Dashboard
|
|
|
|
|
|
|
|
To enable the dashboard, you need to enable Traefik's API.
|
|
|
|
|
|
|
|
??? example "Using the Command Line"
|
|
|
|
|
2019-03-19 16:54:10 +00:00
|
|
|
| Option | Values | Default Value |
|
|
|
|
| --------------- | --------------- | --------------------: |
|
|
|
|
| --api | \[true\|false\] | false |
|
|
|
|
| --api.dashboard | \[true\|false\] | true when api is true |
|
2019-02-26 13:50:07 +00:00
|
|
|
|
|
|
|
{!more-on-command-line.md!}
|
|
|
|
|
|
|
|
??? example "Using the Configuration File"
|
|
|
|
|
|
|
|
```toml
|
|
|
|
[api]
|
|
|
|
# Dashboard
|
|
|
|
#
|
|
|
|
# Optional
|
|
|
|
# Default: true
|
|
|
|
#
|
|
|
|
dashboard = true
|
|
|
|
```
|
|
|
|
|
|
|
|
{!more-on-configuration-file.md!}
|
|
|
|
|
|
|
|
??? example "Using a Key/Value Store"
|
|
|
|
|
2019-03-19 16:54:10 +00:00
|
|
|
| Key | Values | Default Value |
|
|
|
|
| ------------- | --------------- | --------------------: |
|
|
|
|
| api | \[true\|false\] | false |
|
|
|
|
| api.dashboard | \[true\|false\] | true when api is true |
|
2019-02-26 13:50:07 +00:00
|
|
|
|
|
|
|
{!more-on-key-value-store.md!}
|
|
|
|
|
|
|
|
!!! tip "Did You Know?"
|
|
|
|
The API provides more features than the Dashboard.
|
|
|
|
To learn more about it, refer to the `Traefik's API documentation`(TODO: add doc and link).
|