Nomploy Nomad Packs

← All packs

it-tools v0.1.0

Dev tools

IT Tools — a handy collection of offline developer/ops utilities in one web app (encoders, converters, generators, formatters, network helpers, and more). Deployed as a stateless host-networked Nomad service.

nomad-pack run it-tools --registry nomploy
1 task http 8092 image corentinth/it-tools:latest
Variables 8
values.hcl

Save as values.hcl, edit, then run:

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

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

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

# The IT Tools container image (nginx serving the built app). Pin a tag in production.
image = "corentinth/it-tools:latest"

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

# 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
"it-tools"
The name of the Nomad job.
namespace string
"default"
The Nomad namespace to deploy into.
datacenters list
["*"]
The datacenters to deploy to.
image string
"corentinth/it-tools:latest"
The IT Tools container image (nginx serving the built app). Pin a tag in production.
port number
8092
Host port for the web app. Default 8092 to avoid common clashes (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

it-tools

IT Tools — a handy collection of offline developer/ops utilities in a single web app: encoders/decoders, converters, generators (UUID, tokens, hashes), formatters, network helpers, and more. Everything runs client-side. Stateless host-networked Nomad service.

Usage

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

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

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

Key variables

Variable Default Notes
image corentinth/it-tools:latest Pin a tag in production.
port 8092 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