Nomploy Nomad Packs

← All packs

glance v0.1.0

Apps

Glance — a self-hosted dashboard that puts your feeds, weather, markets, calendars, server stats, and service widgets on one fast, config-driven page. Deployed as a stateless host-networked Nomad service with its config rendered from variables.

nomad-pack run glance --registry nomploy
1 task http 3009 image glanceapp/glance:latest
Variables 8
values.hcl

Save as values.hcl, edit, then run:

nomad-pack run glance -f values.hcl --registry nomploy
# The name of the Nomad job.
job_name = "glance"

# The Nomad namespace to deploy into.
namespace = "default"

# The datacenters to deploy to.
datacenters = ["*"]

# The Glance container image. Pin a tag in production.
image = "glanceapp/glance:latest"

# Host port for the Glance dashboard.
port = 3009

# The `pages:` section of the Glance config (YAML). Replace the default with your own pages/columns/widgets — see the Glance docs for the full widget set (RSS, weather, monitor, docker, etc.).
pages = <<-EOT
      - name: Home
        columns:
          - size: full
            widgets:
              - type: clock
              - type: search
  EOT

# Placement constraints. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true".
constraints = []

# The task resources.
resources = {
    cpu    = 200
    memory = 128
  }
NameTypeDefaultDescription
job_name string
"glance"
The name of the Nomad job.
namespace string
"default"
The Nomad namespace to deploy into.
datacenters list
["*"]
The datacenters to deploy to.
image string
"glanceapp/glance:latest"
The Glance container image. Pin a tag in production.
port number
3009
Host port for the Glance dashboard.
pages string
<<-EOT
      - name: Home
        columns:
          - size: full
            widgets:
              - type: clock
              - type: search
  EOT
The `pages:` section of the Glance config (YAML). Replace the default with your own pages/columns/widgets — see the Glance docs for the full widget set (RSS, weather, monitor, docker, etc.).
constraints list
[]
Placement constraints. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true".
resources object
{
    cpu    = 200
    memory = 128
  }
The task resources.
Readme

glance

Glance — a self-hosted dashboard that puts your RSS feeds, weather, markets, calendar, server/Docker stats, and service widgets on a single fast, config-driven page. A lighter, widget-focused alternative to the homepage pack. Stateless host-networked Nomad service; the dashboard is defined by config.

Usage

nomad-pack registry add nomploy github.com/Nomploy/nomad-packs
nomad-pack run glance --registry nomploy

In nomploy: create a Compose service, type Nomad Pack, pack glance, custom registry github.com/Nomploy/nomad-packs, then Deploy. Open http://<node-ip>:3009.

Configuring the dashboard

Set the pages variable to the pages: section of a Glance config, e.g.:

- name: Home
  columns:
    - size: full
      widgets:
        - type: clock
        - type: rss
          feeds:
            - url: https://hnrss.org/frontpage

See the Glance configuration docs for all widgets (weather, markets, monitor, docker, custom-api, …).

Key variables

Variable Default Notes
image glanceapp/glance:latest Pin a tag in production.
port 3009 Dashboard host port.
pages a Home page (clock + search) Replace with your own pages/widgets.
constraints [] Placement.
resources cpu 200 / mem 128 Lightweight.

Notes