DumbDrop — a stupidly simple drag-and-drop file uploader with optional PIN protection and upload notifications. Deployed as a single host-networked Nomad service.
Needs nomad-pack on PATH. The script only adds the nomploy registry and runs this pack.
Source ↗ Project ↗ ★ 571 ⚑ Report an issue
Save as values.hcl, edit, then run:
# The name of the Nomad job.
job_name = "dumbdrop"
# The Nomad namespace to deploy into.
namespace = "default"
# The datacenters to deploy to.
datacenters = ["*"]
# The DumbDrop container image. Pin a tag in production.
image = "dumbwareio/dumbdrop:latest"
# Host port for the DumbDrop web UI.
port = 3000
# Named volume mounted at /app/uploads (uploaded files).
data_volume = "dumbdrop_data"
# Optional PIN protection, 4-10 digits (DUMBDROP_PIN). Empty = no auth.
pin = ""
# Public URL DumbDrop is reachable at (BASE_URL). MUST end with a trailing slash. Empty = http://localhost:<port>/.
base_url = ""
# Maximum upload size in MB (MAX_FILE_SIZE).
max_file_size = 1024
# Placement constraints. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true".
constraints = []
# The task resources.
resources = {
cpu = 300
memory = 256
}
| Name | Type | Default | Description |
|---|---|---|---|
| job_name | string | "dumbdrop" | The name of the Nomad job. |
| namespace | string | "default" | The Nomad namespace to deploy into. |
| datacenters | list | ["*"] | The datacenters to deploy to. |
| image | string | "dumbwareio/dumbdrop:latest" | The DumbDrop container image. Pin a tag in production. |
| port | number | 3000 | Host port for the DumbDrop web UI. |
| data_volume | string | "dumbdrop_data" | Named volume mounted at /app/uploads (uploaded files). |
| pin | string | "" | Optional PIN protection, 4-10 digits (DUMBDROP_PIN). Empty = no auth. |
| base_url | string | "" | Public URL DumbDrop is reachable at (BASE_URL). MUST end with a trailing slash. Empty = http://localhost:<port>/. |
| max_file_size | number | 1024 | Maximum upload size in MB (MAX_FILE_SIZE). |
| constraints | list | [] | Placement constraints. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true". |
| resources | object | {
cpu = 300
memory = 256
} | The task resources. |
No variables match.
This pack stores data in one Docker named volume:
dumbdrop_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/dumbdrop_data/_data
rclone (sync to S3/R2)
rclone sync /var/lib/docker/volumes/dumbdrop_data/_data backup:<bucket>/dumbdrop_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.
DumbDrop — a stupidly simple drag-and-drop file uploader. Share a link, let people drop files straight into a folder on your server, with optional PIN protection, upload notifications and a configurable size limit. No accounts, no database — just a clean upload page.
Single host-networked Nomad service with a persistent uploads volume.
nomad-pack registry add nomploy https://github.com/Nomploy/nomad-packs
nomad-pack run dumbdrop --registry=nomploy
| Variable | Default | Description |
|---|---|---|
port |
3000 |
Web UI port (PORT). |
pin |
"" |
Optional PIN, 4–10 digits (DUMBDROP_PIN). Empty = no auth. |
base_url |
"" |
Public URL (BASE_URL) — must end with a trailing slash. Empty = http://localhost:<port>/. |
max_file_size |
1024 |
Maximum upload size in MB (MAX_FILE_SIZE). |
image |
dumbwareio/dumbdrop:latest |
Container image. Pin a tag in production. |
data_volume |
dumbdrop_data |
/app/uploads — uploaded files. |
resources |
{ cpu = 300, memory = 256 } |
Task resources. |
BASE_URLmust end with a trailing slash or the app won't start (the pack's default already does). Set apin(or a reverse proxy) before exposing it publicly. A prestart init task chowns the uploads volume to uid1000. Pin the job to the node holding the volume withconstraints.