Nomploy Nomad Packs

← All packs

mealie v0.1.0

Apps

Mealie — a self-hosted recipe manager and meal planner with a recipe scraper (import from any URL), shopping lists, meal-plan calendar, and a REST API. Deployed as a host-networked Nomad service using SQLite with a persistent data volume.

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

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

1 task http 9000 1 volume image ghcr.io/mealie-recipes/mealie:latest tracks :latest image bumped today
Variables 11
values.hcl

Save as values.hcl, edit, then run:

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

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

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

# The Mealie container image. Pin a tag in production.
image = "ghcr.io/mealie-recipes/mealie:latest"

# Host port for the Mealie web UI / API. The container listens on 9000.
port = 9000

# Public base URL Mealie is served at (BASE_URL), e.g. https://recipes.example.com. Empty = http://localhost:<port>.
base_url = ""

# Allow open user self-registration (ALLOW_SIGNUP). Keep false and invite users instead.
allow_signup = false

# Container timezone (TZ), e.g. Europe/Bratislava.
tz = "UTC"

# Named volume for Mealie data (/app/data): the SQLite database, recipe images, and backups.
data_volume = "mealie_data"

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

# Resources for the Mealie task.
resources = {
    cpu    = 500
    memory = 512
  }
NameTypeDefaultDescription
job_name string
"mealie"
The name of the Nomad job.
namespace string
"default"
The Nomad namespace to deploy into.
datacenters list
["*"]
The datacenters to deploy to.
image string
"ghcr.io/mealie-recipes/mealie:latest"
The Mealie container image. Pin a tag in production.
port number
9000
Host port for the Mealie web UI / API. The container listens on 9000.
base_url string
""
Public base URL Mealie is served at (BASE_URL), e.g. https://recipes.example.com. Empty = http://localhost:<port>.
allow_signup bool
false
Allow open user self-registration (ALLOW_SIGNUP). Keep false and invite users instead.
tz string
"UTC"
Container timezone (TZ), e.g. Europe/Bratislava.
data_volume string
"mealie_data"
Named volume for Mealie data (/app/data): the SQLite database, recipe images, and backups.
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    = 500
    memory = 512
  }
Resources for the Mealie task.
Back up this pack

This pack stores data in one Docker named volume: mealie_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/mealie_data/_data

rclone (sync to S3/R2)

rclone sync /var/lib/docker/volumes/mealie_data/_data backup:<bucket>/mealie_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

mealie

Mealie — a self-hosted recipe manager and meal planner. Import recipes from any URL with the built-in scraper, organize them with tags and categories, build a meal-plan calendar, generate shopping lists, and drive it all from a clean UI or the REST API.

Single host-networked Nomad service using SQLite with a persistent /app/data volume — no external database needed (recommended for households and small teams).

Deploy

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

Configure

Variable Default Description
port 9000 Web UI / API port (API_PORT).
base_url ""http://localhost:<port> BASE_URL — set to your real domain.
allow_signup false Open self-registration (ALLOW_SIGNUP). Leave off; invite users instead.
tz UTC Container timezone (TZ).
data_volume mealie_data /app/data — SQLite DB, recipe images, backups.
image ghcr.io/mealie-recipes/mealie:latest Container image. Pin a tag in production.
resources { cpu = 500, memory = 512 } Task resources.

On first boot Mealie creates a default admin (changeme@example.com / MyPassword) — log in and change it right away. Serves plain HTTP — front it with a reverse proxy for TLS. Pin the job to the node holding the volume with constraints.