visual-qontract
visual-qontract is the web UI for the data served by AppSRE's team qontract-server instance.
It is written in React and uses PatternFly 3 as the UI framework.
Usage
$ cp public/env/env.js.example public/env/env.js
$ sed -i.bk '/GRAPHQL_URI/d' public/env/env.js
$ docker run --rm -p 8080:8080 \
-e AUTHORIZATION="Basic <TOKEN>" -e GRAPHQL_URI="<URL>" \
-v $PWD/public/env:/opt/visual-qontract/build/env:z \
quay.io/app-sre/visual-qontract:latest
The visual-qontract UI will be reachable on http://localhost:8080
Development Environment
$ cp public/env/env.js.example public/env/env.js
$ yarn
$ yarn build
$ yarn start:dev
The server will then run on http://localhost:3000