Simple status page with UI updates by SSE, backed by constant polling of status handle of selenoid on small go backend.
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
or1m
)--selenoid-uri
- selenoid uri to fetch data from (e.g.http://localhost:4444/
)
-
Ensure you have yarn and go-bindata-assetfs installed
-
Generate static resources:
$ go generate ./web ./...
- Build:
$ go build
- To build Docker container type:
$ GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build
$ docker build -t selenoid-ui:latest .