Sign inSign up

ghiltoniel/traefik-react

By ghiltoniel

•Updated over 9 years ago

Interactive diagram view for traefik using React and D3

Image
1

8.2K

ghiltoniel/traefik-react repository overview

⁠react-traefik

Interactive diagram view for traefik using React and D3 Source code : https://github.com/guillaumejacquart/react-traefik⁠

Codefresh build status

alt text

⁠Setup

The easiest way to install the package is using docker. The docker runs a web application that talks to the traefik api and exposes its own api for the dashboard to call.

⁠Using docker

The host you run the docker container on must have access to the traefik frontend for it to work.

docker run -d -p 3001:3001 --network=<traefik_network> ghiltoniel/traefik-react

Then go to http://localhost:3001⁠ to access the dashboard You must fill out the traefik API URL on the header bar to access the dashboard

⁠Traefik service discovery

The container can also automatically discover the traefik API using the docker API to get Traefik IP address. For that, you must map the docker socket to the container volumes :

docker run -d -p 3001:3001 --network=<traefik_network> -v /var/run/docker.sock:/var/run/docker.sock ghiltoniel/traefik-react

Tag summary

Content type

Image

Digest

Size

43 MB

Last updated

over 9 years ago

docker pull ghiltoniel/traefik-react