traefik/webui
2019-07-22 11:06:04 +02:00
..
public refactor(webui): use @vue/cli to bootstrap new ui 2019-07-15 10:58:03 +02:00
src refactor(webui): use components to split Home concerns 2019-07-22 11:06:04 +02:00
tests/unit refactor(webui): use @vue/cli to bootstrap new ui 2019-07-15 10:58:03 +02:00
.browserslistrc refactor(webui): use @vue/cli to bootstrap new ui 2019-07-15 10:58:03 +02:00
.dockerignore chore(webui): ignore target/dependencies in docker copy 2019-02-01 00:20:04 +01:00
.eslintrc.js refactor(webui): use @vue/cli to bootstrap new ui 2019-07-15 10:58:03 +02:00
.gitignore refactor(webui): use @vue/cli to bootstrap new ui 2019-07-15 10:58:03 +02:00
babel.config.js refactor(webui): use @vue/cli to bootstrap new ui 2019-07-15 10:58:03 +02:00
Dockerfile refactor(webui): use @vue/cli to bootstrap new ui 2019-07-15 10:58:03 +02:00
jest.config.js refactor(webui): use @vue/cli to bootstrap new ui 2019-07-15 10:58:03 +02:00
package.json refactor(webui): use components to split Home concerns 2019-07-22 11:06:04 +02:00
postcss.config.js refactor(webui): use @vue/cli to bootstrap new ui 2019-07-15 10:58:03 +02:00
readme.md refactor(webui): use @vue/cli to bootstrap new ui 2019-07-15 10:58:03 +02:00
vue.config.js refactor(webui): use @vue/cli to bootstrap new ui 2019-07-15 10:58:03 +02:00
yarn.lock refactor(webui): use components to split Home concerns 2019-07-22 11:06:04 +02:00

Traefik Web UI

Access to Traefik Web UI, ex: http://localhost:8080

Interface

Traefik Web UI provide 2 types of informations:

  • Providers with their backends and frontends information.
  • Health of the web server.

How to build (for backend developer)

Use the make file :

make build           # Generate Docker image
make generate-webui  # Generate static contents in `traefik/static/` folder.

How to build (only for frontend developer)

  • prerequisite: Node 6+ yarn

    Note: In case of conflict with the Apache Hadoop Yarn Command Line Interface, use the yarnpkg alias.

  • Go to the directory webui

  • To install dependencies, execute the following commands:

    • yarn install
  • Build static Web UI, execute the following command:

    • yarn run build
  • Static contents are build in the directory static

Don't change manually the files in the directory static

  • The build allow to:
    • optimize all JavaScript
    • optimize all CSS
    • add vendor prefixes to CSS (cross-bowser support)
    • add a hash in the file names to prevent browser cache problems
    • all images will be optimized at build
    • bundle JavaScript in one file

How to edit (only for frontend developer)

Don't change manually the files in the directory static

  • Go to the directory webui
  • Edit files in webui/src
  • Run in development mode :
    • yarn serve

Libraries