chuyskywalker / nomad-ui

A basic Nomad UI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nomad UI

A basic, linkable, fast Nomad UI.

Feature List:

  • Overview index: Nodes, Jobs, Allocations, and Evaluations
  • Node (client) details
  • Server details
  • Job details
  • Evaluation details
  • Allocation details
  • Allocation File System Explorer
  • Allocation File Streamer

Screenshots

Homepage: Homepage

Node: Homepage

Job: Homepage

Allocation (and file streamer): Homepage

Run Nomad UI

Provide the Nomad URL and simple invoke the dockerhub hosted image:

docker run -ti --rm --name=nui \
 -p 8080:80 \
 -e 'NOMAD_BASEURL=http://nomad.service.consul:4646' \
 chuyskywalker/nomad-ui

nomad-ui will then be running in the foreground and is available at http://<your-ip>:8080.

Development

Build the container, run composer to get dependencies, and then mount the git checkout over a new instance of the container:

docker build -t chuyskywalker/nomad-ui .
docker run -ti --rm -v $(pwd)/html:/app composer/composer install
docker run -ti --rm --name=nui-dev \
 -p 8080:80 \
 -e 'NOMAD_BASEURL=http://nomad.service.consul:4646' \
 -e 'NOMAD_TWIG_DEBUG=1' \
 -v `pwd`/html:/var/www/html \
 chuyskywalker/nomad-ui

Switch out -ti --rm with -d if you want it to run in the background more permanently.

Now just start editing the PHP, JS, CSS, etc and refresh your browser!

About

A basic Nomad UI


Languages

Language:HTML 54.0%Language:PHP 39.2%Language:CSS 6.8%