Nomploy Nomad Packs

← All packs

questdb v0.1.0

Databases

QuestDB — a high-performance time-series database with SQL, a fast InfluxDB Line Protocol ingestion endpoint, and the PostgreSQL wire protocol, plus a built-in web console. Deployed as a single host-networked Nomad service with a persistent data volume.

nomad-pack run questdb --registry nomploy
1 task http 9000pg 8812ilp 9009 1 volume image questdb/questdb:latest
Variables 10
values.hcl

Save as values.hcl, edit, then run:

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

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

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

# The QuestDB container image. Pin a tag in production.
image = "questdb/questdb:latest"

# Host port for the web console + REST API.
http_port = 9000

# Host port for the PostgreSQL wire protocol.
pg_port = 8812

# Host port for InfluxDB Line Protocol ingestion (TCP).
ilp_port = 9009

# Named volume for the QuestDB database (/var/lib/questdb).
data_volume = "questdb_data"

# Placement constraints. Pin to the node holding the volume. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true".
constraints = []

# The task resources.
resources = {
    cpu    = 1000
    memory = 1024
  }
NameTypeDefaultDescription
job_name string
"questdb"
The name of the Nomad job.
namespace string
"default"
The Nomad namespace to deploy into.
datacenters list
["*"]
The datacenters to deploy to.
image string
"questdb/questdb:latest"
The QuestDB container image. Pin a tag in production.
http_port number
9000
Host port for the web console + REST API.
pg_port number
8812
Host port for the PostgreSQL wire protocol.
ilp_port number
9009
Host port for InfluxDB Line Protocol ingestion (TCP).
data_volume string
"questdb_data"
Named volume for the QuestDB database (/var/lib/questdb).
constraints list
[]
Placement constraints. Pin to the node holding the volume. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true".
resources object
{
    cpu    = 1000
    memory = 1024
  }
The task resources.
Readme

questdb

QuestDB — a high-performance time-series database with SQL, a fast InfluxDB Line Protocol ingestion endpoint, the PostgreSQL wire protocol, and a built-in web console.

Single host-networked Nomad service with a persistent data volume.

Deploy

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

Configure

Variable Default Description
http_port 9000 Web console + REST API.
pg_port 8812 PostgreSQL wire protocol.
ilp_port 9009 InfluxDB Line Protocol (TCP).
data_volume questdb_data /var/lib/questdb.
image questdb/questdb:latest Container image. Pin a tag in production.
resources { cpu = 1000, memory = 1024 } Task resources.

Connect any Postgres client with user admin / password quest (change it for production). Pin the job to the node holding the volume with constraints.