Nomploy Nomad Packs

← All packs

qdrant v0.1.0

AI

Qdrant — an open-source vector database and similarity-search engine for embeddings, powering semantic search and RAG. Deployed as a host-networked Nomad service with a persistent volume; pairs with the ollama pack for a self-hosted AI stack.

nomad-pack run qdrant --registry nomploy
…or one line (add registry + run)
curl -fsSL https://packs.nomploy.com/install.sh | sh -s -- qdrant

Needs nomad-pack on PATH. The script only adds the nomploy registry and runs this pack.

1 task http 6333grpc 6334 1 volume image qdrant/qdrant:latest tracks :latest image bumped 28 days ago
Variables 10
values.hcl

Save as values.hcl, edit, then run:

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

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

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

# The Qdrant container image. Pin a tag in production.
image = "qdrant/qdrant:latest"

# Host port for the REST API + web dashboard (/dashboard).
http_port = 6333

# Host port for the gRPC API.
grpc_port = 6334

# Optional API key. Empty = open (no auth). Set it to require an api-key header on all requests.
api_key = ""

# Docker named volume for /qdrant/storage (collections + vectors). Qdrant runs as root, so a fresh volume is writable. Back it up.
data_volume = "qdrant_data"

# Placement constraints — pin to one node so the local volume stays put. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true".
constraints = []

# The task resources. Raise memory for large collections (vectors are held in RAM by default).
resources = {
    cpu    = 500
    memory = 512
  }
NameTypeDefaultDescription
job_name string
"qdrant"
The name of the Nomad job.
namespace string
"default"
The Nomad namespace to deploy into.
datacenters list
["*"]
The datacenters to deploy to.
image string
"qdrant/qdrant:latest"
The Qdrant container image. Pin a tag in production.
http_port number
6333
Host port for the REST API + web dashboard (/dashboard).
grpc_port number
6334
Host port for the gRPC API.
api_key key string
""
Optional API key. Empty = open (no auth). Set it to require an api-key header on all requests.
data_volume string
"qdrant_data"
Docker named volume for /qdrant/storage (collections + vectors). Qdrant runs as root, so a fresh volume is writable. Back it up.
constraints list
[]
Placement constraints — pin to one node so the local volume stays put. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true".
resources object
{
    cpu    = 500
    memory = 512
  }
The task resources. Raise memory for large collections (vectors are held in RAM by default).
Back up this pack

This pack stores data in one Docker named volume: qdrant_data

restic

# Run on the node hosting this pack. Point restic at your repo first:
#   export RESTIC_REPOSITORY="s3:https://<account>.r2.cloudflarestorage.com/<bucket>"
#   export RESTIC_PASSWORD="<repo-password>"
#   export AWS_ACCESS_KEY_ID=<key>  AWS_SECRET_ACCESS_KEY=<secret>
restic backup \
  /var/lib/docker/volumes/qdrant_data/_data

rclone (sync to S3/R2)

rclone sync /var/lib/docker/volumes/qdrant_data/_data backup:<bucket>/qdrant_data

Paths assume the default Docker volume location (/var/lib/docker/volumes). Restore by stopping the job, restoring files into the same volume, and re-running the pack.

Readme

qdrant

Qdrant — an open-source vector database and similarity-search engine for embeddings: the storage/retrieval layer for semantic search and RAG. Host-networked Nomad service with a persistent volume. Pairs with the ollama pack for a self-hosted AI stack.

Usage

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

In nomploy: create a Compose service, type Nomad Pack, pack qdrant, custom registry github.com/Nomploy/nomad-packs, then Deploy. Dashboard at http://<node-ip>:6333/dashboard.

Key variables

Variable Default Notes
image qdrant/qdrant:latest Pin a tag in production.
http_port / grpc_port 6333 / 6334 REST/dashboard + gRPC.
api_key "" Empty = open; set to require an api-key header.
data_volume qdrant_data Collections + vectors. Back it up.
constraints [] Pin to a node so the local volume stays put.
resources cpu 500 / mem 512 Raise memory for large collections.

Notes