Skip to content

Alternate dashboard for traefik with react

Notifications You must be signed in to change notification settings

gkoerk/react-traefik

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Alternate dashboard for traefik with react

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.0%
  • CSS 5.5%
  • HTML 3.5%
  • Dockerfile 1.0%