Papra — a minimalistic self-hosted document management and archiving platform: store, organize, tag and full-text search your documents for the long term. Deployed as a single host-networked Nomad service with SQLite storage and a data volume.
Needs nomad-pack on PATH. The script only adds the nomploy registry and runs this pack.
Source ↗ Project ↗ ★ 5.5k ⚑ Report an issue
Save as values.hcl, edit, then run:
# The name of the Nomad job.
job_name = "papra"
# The Nomad namespace to deploy into.
namespace = "default"
# The datacenters to deploy to.
datacenters = ["*"]
# The Papra container image. Pin a tag in production.
image = "ghcr.io/papra-hq/papra:latest"
# Host port for the Papra web UI.
port = 1221
# Public base URL of this Papra instance. Set to your domain in production.
app_base_url = "http://localhost:1221"
# Secret used to sign auth sessions (openssl rand -hex 32). REQUIRED — CHANGE THIS and keep it stable.
auth_secret = "change_me_auth_secret_to_a_long_random_value"
# Named volume for Papra's database and stored documents (/app/app-data).
data_volume = "papra_data"
# Placement constraints. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true".
constraints = []
# Resources for the Papra task.
resources = {
cpu = 400
memory = 512
}
| Name | Type | Default | Description |
|---|---|---|---|
| job_name | string | "papra" | 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/papra-hq/papra:latest" | The Papra container image. Pin a tag in production. |
| port | number | 1221 | Host port for the Papra web UI. |
| app_base_url | string | "http://localhost:1221" | Public base URL of this Papra instance. Set to your domain in production. |
| auth_secret set me | string | "change_me_auth_secret_to_a_long_random_value" | Secret used to sign auth sessions (openssl rand -hex 32). REQUIRED — CHANGE THIS and keep it stable. |
| data_volume | string | "papra_data" | Named volume for Papra's database and stored documents (/app/app-data). |
| constraints | list | [] | Placement constraints. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true". |
| resources | object | {
cpu = 400
memory = 512
} | Resources for the Papra task. |
No variables match.
This pack stores data in one Docker named volume:
papra_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/papra_data/_data
rclone (sync to S3/R2)
rclone sync /var/lib/docker/volumes/papra_data/_data backup:<bucket>/papra_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.
Papra is a minimalistic self-hosted document management and archiving platform — store, organize, tag and full-text search your documents for the long term, like a digital archive.
This pack runs Papra as a single host-networked Nomad job with SQLite storage; its
database and your documents live in the papra_data volume (/app/app-data) — no external
database is required.
nomad-pack run papra --registry=nomploy
Then open http://<node-ip>:1221 and create the first account.
| Variable | Default | Notes |
|---|---|---|
port |
1221 |
Web UI host port |
app_base_url |
http://localhost:1221 |
Public URL — set to your domain in production |
auth_secret |
change me | Required session signing secret — keep stable |
Papra requires auth_secret to run — change it to a long random value before deploying
anywhere real and keep it stable. Data persists in the papra_data named volume.