diff --git a/docs/content/getting-started/quick-start.md b/docs/content/getting-started/quick-start.md index 762c64d21..b43eef89c 100644 --- a/docs/content/getting-started/quick-start.md +++ b/docs/content/getting-started/quick-start.md @@ -34,7 +34,7 @@ Start your `reverse-proxy` with the following command: docker-compose up -d reverse-proxy ``` -You can open a browser and go to [http://localhost:8080](http://localhost:8080) to see Traefik's dashboard (we'll go back there once we have launched a service in step 2). +You can open a browser and go to [http://localhost:8080/api/rawdata](http://localhost:8080/api/rawdata) to see Traefik's API rawdata (we'll go back there once we have launched a service in step 2). ## Traefik Detects New Services and Creates the Route for You @@ -58,7 +58,7 @@ Start the `whoami` service with the following command: docker-compose up -d whoami ``` -Go back to your browser ([http://localhost:8080](http://localhost:8080)) and see that Traefik has automatically detected the new container and updated its own configuration. +Go back to your browser ([http://localhost:8080/api/rawdata](http://localhost:8080/api/rawdata)) and see that Traefik has automatically detected the new container and updated its own configuration. When Traefik detects new services, it creates the corresponding routes so you can call them ... _let's see!_ (Here, we're using curl) @@ -82,7 +82,7 @@ Run more instances of your `whoami` service with the following command: docker-compose up -d --scale whoami=2 ``` -Go back to your browser ([http://localhost:8080](http://localhost:8080)) and see that Traefik has automatically detected the new instance of the container. +Go back to your browser ([http://localhost:8080/api/rawdata](http://localhost:8080/api/rawdata)) and see that Traefik has automatically detected the new instance of the container. Finally, see that Traefik load-balances between the two instances of your services by running twice the following command: diff --git a/docs/content/operations/dashboard.md b/docs/content/operations/dashboard.md index 9e20e6777..7a21fca66 100644 --- a/docs/content/operations/dashboard.md +++ b/docs/content/operations/dashboard.md @@ -5,6 +5,10 @@ See What's Going On The dashboard is the central place that shows you the current active routes handled by Traefik. +??? note "Dashboard WIP" + Currently, the dashboard is in a Work In Progress State while being reconstructed for v2. + Therefore, the dashboard is currently not working. +
Dashboard - Providers
The dashboard in action with Traefik listening to 3 different providers
@@ -27,10 +31,10 @@ To enable the dashboard, you need to enable Traefik's API. ??? example "Using the Command Line" - Option | Values | Default Value - -- | -- | --: - --api | \[true\|false\] | false - --api.dashboard | \[true\|false\] | true when api is true + | Option | Values | Default Value | + | --------------- | --------------- | --------------------: | + | --api | \[true\|false\] | false | + | --api.dashboard | \[true\|false\] | true when api is true | {!more-on-command-line.md!} @@ -50,10 +54,10 @@ To enable the dashboard, you need to enable Traefik's API. ??? example "Using a Key/Value Store" - Key | Values | Default Value - -- | -- | --: - api | \[true\|false\] | false - api.dashboard | \[true\|false\] | true when api is true + | Key | Values | Default Value | + | ------------- | --------------- | --------------------: | + | api | \[true\|false\] | false | + | api.dashboard | \[true\|false\] | true when api is true | {!more-on-key-value-store.md!} diff --git a/webui/src/app/app.component.ts b/webui/src/app/app.component.ts index 4218b7340..abed5b68c 100644 --- a/webui/src/app/app.component.ts +++ b/webui/src/app/app.component.ts @@ -1,4 +1,5 @@ -import { Component } from '@angular/core'; +import { Component, Inject } from '@angular/core'; +import { DOCUMENT } from '@angular/common'; @Component({ selector: 'app-root', @@ -6,9 +7,30 @@ import { Component } from '@angular/core';
logo
-

Work in progress...

+

+ + Work in progress... +

+

+ In the meantime, you can review your current configuration by using + the + {{ href }}/api/rawdata endpoint +

+ Also, please keep your on our + documentation + to stay informed +

+

` }) -export class AppComponent {} +export class AppComponent { + public href: string; + + constructor(@Inject(DOCUMENT) private document: Document) { + this.href = this.document.location.origin; + } +}