Something something something Hashicorp doesn't provide a UI for Nomad something.
docker run -itd -e "NOMAD_URL=http://<base_url>:<port>" -e "ASPNETCORE_URLS=http://*:5000" -p 5000:5000 cvandal/nomad-ui:0.1.1
- Run
git clone git@github.com:cvandal/nomad-ui.git
orgit clone https://github.com/cvandal/nomad-ui.git
- Run
dotnet restore
, followed bydotnet build
, followed bydotnet publish
- Run
cd .\Nomad\bin\Debug\netcoreapp1.1\publish\
and create aDockerfile
in the publish output directory with the following content:
FROM microsoft/dotnet
COPY . /app
WORKDIR /app
ENTRYPOINT ["dotnet", "Nomad.dll"]
- Run
docker build <image_name>:<image_tag> .
- Run
docker run -itd -e "NOMAD_URL=http://<base_url>:<port>" -e "ASPNETCORE_URLS=http://*:5000" -p 5000:5000 <image_name>:<image_tag>
¯\_(ツ)_/¯