Nomploy Nomad Packs

← All packs

excalidraw v0.1.0

Apps

Excalidraw — a virtual hand-drawn-style whiteboard for sketching diagrams and wireframes. Deployed as a stateless host-networked Nomad service (the app runs client-side in the browser).

nomad-pack run excalidraw --registry nomploy
1 task http 8094 image excalidraw/excalidraw:latest
Variables 8
values.hcl

Save as values.hcl, edit, then run:

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

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

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

# The Excalidraw container image (nginx serving the built app). Pin a tag in production.
image = "excalidraw/excalidraw:latest"

# Host port for the web app. Default 8094 (the image serves on 80 internally; this pack rebinds it via a rendered nginx config).
port = 8094

# Number of instances (stateless, so >1 is fine on distinct ports/nodes).
count = 1

# 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
"excalidraw"
The name of the Nomad job.
namespace string
"default"
The Nomad namespace to deploy into.
datacenters list
["*"]
The datacenters to deploy to.
image string
"excalidraw/excalidraw:latest"
The Excalidraw container image (nginx serving the built app). Pin a tag in production.
port number
8094
Host port for the web app. Default 8094 (the image serves on 80 internally; this pack rebinds it via a rendered nginx config).
count number
1
Number of instances (stateless, so >1 is fine on distinct ports/nodes).
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

excalidraw

Excalidraw — a virtual whiteboard with a hand-drawn feel, for sketching diagrams, wireframes, and flows. Stateless host-networked Nomad service; the app runs entirely client-side.

Usage

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

In nomploy: create a Compose service, type Nomad Pack, pack excalidraw, custom registry github.com/Nomploy/nomad-packs, then Deploy.

Open http://<node-ip>:8094.

Key variables

Variable Default Notes
image excalidraw/excalidraw:latest Pin a tag in production.
port 8094 Web app host port (rebinds nginx via a rendered config).
count 1 Stateless, so >1 is fine on distinct ports/nodes.
resources cpu 200 / mem 128 Lightweight.

Notes