Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.37 KB

README.md

File metadata and controls

27 lines (18 loc) · 1.37 KB

react-traefik

Interactive diagram view for traefik using React and D3

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