Nomploy Nomad Packs

← All packs

drawio v0.1.0

Apps

draw.io (diagrams.net) — a full-featured diagram editor for flowcharts, network diagrams, UML, and more, self-hosted with no account required. Deployed as a stateless host-networked Nomad service; diagrams are stored client-side or in your own files.

nomad-pack run drawio --registry nomploy
1 task http 8080 image jgraph/drawio:latest
Variables 7
values.hcl

Save as values.hcl, edit, then run:

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

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

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

# The draw.io container image. Pin a tag in production.
image = "jgraph/drawio:latest"

# Host port for the draw.io editor. The image's Tomcat serves on 8080; keep this at 8080 or front with a reverse proxy.
port = 8080

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

# The task resources.
resources = {
    cpu    = 300
    memory = 512
  }
NameTypeDefaultDescription
job_name string
"drawio"
The name of the Nomad job.
namespace string
"default"
The Nomad namespace to deploy into.
datacenters list
["*"]
The datacenters to deploy to.
image string
"jgraph/drawio:latest"
The draw.io container image. Pin a tag in production.
port number
8080
Host port for the draw.io editor. The image's Tomcat serves on 8080; keep this at 8080 or front with a reverse proxy.
constraints list
[]
Placement constraints. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true".
resources object
{
    cpu    = 300
    memory = 512
  }
The task resources.
Readme

drawio

draw.io (diagrams.net) — a full-featured diagram editor for flowcharts, network diagrams, UML, and more, self-hosted with no account required.

Stateless host-networked Nomad service — diagrams run entirely in the browser and are stored client-side or in files you save.

Deploy

nomad-pack registry add nomploy https://github.com/Nomploy/nomad-packs
nomad-pack run drawio --registry=nomploy

Configure

Variable Default Description
port 8080 Editor port (Tomcat; see note).
image jgraph/drawio:latest Container image. Pin a tag in production.
resources { cpu = 300, memory = 512 } Task resources.

Nothing is stored server-side. The image's Tomcat binds 8080 (no env to change it) — front it with a reverse proxy (caddy / nginx-proxy-manager) for another port/domain; note 8080 overlaps several other packs' defaults.