Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Private dashboard

Run an admin/dashboard UI on Nomad and expose it only through Tailnet access with Tailscale Serve. This example uses Grafana as a familiar placeholder; replace it with your internal dashboard image.

flowchart LR
  User["Tailnet operator"] --> TS["tailscaled sidecar + serve"]
  TS --> App["dashboard task\n127.0.0.1:NOMAD_PORT_app"]
  Guard["tailscale-up-and-serve"] --> TS
  Vars["Nomad Variables\nTS_AUTHKEY"] --> Guard
Loading

Validate

nomad job validate examples/private-dashboard/private-dashboard.nomad.hcl

Run

nomad var put nomad/jobs/notailcar/example/secrets TS_AUTHKEY='<TAILSCALE_AUTH_KEY>'
nomad job plan examples/private-dashboard/private-dashboard.nomad.hcl
nomad job run examples/private-dashboard/private-dashboard.nomad.hcl