Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 1.42 KB

README.md

File metadata and controls

45 lines (36 loc) · 1.42 KB

Selenoid UI

Build Status Coverage Docker

Simple status page with UI updates by SSE, backed by constant polling of status handle of selenoid on small go backend.

ui

Usage

We distribute UI as a lightweight Docker container. To run it type:

$ docker run -d --name selenoid-ui --net host aerokube/selenoid-ui

Then access the UI on port 8080:

http://localhost:8080/

The following flags are supported:

  • --listen - host and port to listen (e.g. :1234)
  • --period - data refresh period (e.g. 5s or 1m)
  • --selenoid-uri - selenoid uri to fetch data from (e.g. http://localhost:4444/)

Development

  1. Ensure you have yarn and go-bindata-assetfs installed

  2. Generate static resources:

$ go generate ./web ./...
  1. Build:
$ go build
  1. To build Docker container type:
$ GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build
$ docker build -t selenoid-ui:latest .