Skip to content

cvandal/nomad-ui

Repository files navigation

With the upcoming release of Nomad 0.7 and its awesome built in UI, this project is no longer under development.

Nomad UI

A cross platform UI for Nomad by HashiCorp written in .NET Core and React.

Usage

  1. Run docker run -itd -e "NOMAD_URL=http://<base_url>:<port>" -e "ASPNETCORE_URLS=http://*:5000" -p 5000:5000 cvandal/nomad-ui:1.0.0

Development

Prerequisites

  1. Download and install the latest version of .NET Core from https://www.microsoft.com/net/download/core
  2. Download and install the latest version of Node.js from https://nodejs.org/en/download/
  3. Download and install the latest version of Yarn from https://yarnpkg.com/en/docs/install
  4. Clone the repository from GitHub by running git clone https://github.com/cvandal/nomad-ui.git

Build

  1. Run yarn, followed by .\node_modules\.bin\webpack
  2. Run dotnet restore, followed by dotnet build, followed by dotnet publish
  3. Run cd .\bin\Debug\netcoreapp1.1\publish\ and create a file named Dockerfile with the following content:
FROM microsoft/dotnet

COPY . /app

WORKDIR /app

ENV ASPNETCORE_URLS=http://*:5000

ENTRYPOINT ["dotnet", "Nomad.dll"]
  1. Run docker build -t <image_name>:<image_tag> .

Run

  1. Run docker run -itd -e "NOMAD_URL=http://<base_url>:<port>" -p 5000:5000 <image_name>:<image_tag>

Discuss

Join the HashiCorp Community Slack team! https://join.slack.com/t/hashicorpcommunity/shared_invite/MjE5NzE3ODI3NzE2LTE1MDE0NDM4OTYtZDI1MTNlMTJmNw

Screenshots

alt text

Known Issues

¯\_(ツ)_/¯