Rallly — a self-hosted meeting scheduling and group-poll tool (a Doodle alternative): create date/time polls, collect availability, and pick the best slot without the back-and-forth. Deployed as an all-in-one host-networked Nomad job: a PostgreSQL sidecar plus the Rallly app with a persistent database volume.
Needs nomad-pack on PATH. The script only adds the nomploy registry and runs this pack.
Source ↗ Project ↗ ★ 5.3k ⚑ Report an issue
Save as values.hcl, edit, then run:
# The name of the Nomad job.
job_name = "rallly"
# The Nomad namespace to deploy into.
namespace = "default"
# The datacenters to deploy to.
datacenters = ["*"]
# The Rallly container image. Pin a tag in production.
image = "ghcr.io/lukevella/rallly:latest"
# The PostgreSQL image for the bundled database.
postgres_image = "postgres:16-alpine"
# Host port for the Rallly web UI.
port = 3010
# Host port for the co-located PostgreSQL.
db_port = 5432
# Password for the Rallly PostgreSQL user.
db_password = "rallly"
# Public base URL Rallly is served at (NEXT_PUBLIC_BASE_URL). Empty = http://localhost:<port>. Set this to the real host/domain — links in emails use it.
base_url = ""
# Secret used to encrypt user sessions (SECRET_PASSWORD). Must be at least 32 characters. Generate with: openssl rand -hex 32.
secret_password = "change-me-to-a-random-32-char-secret-value"
# From/support address used for outgoing email and shown to users (SUPPORT_EMAIL).
support_email = "support@nomploy.local"
# Named volume for PostgreSQL data (/var/lib/postgresql/data). Holds all polls.
db_data_volume = "rallly_db_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 Rallly app task.
resources = {
cpu = 500
memory = 512
}
# Resources for the PostgreSQL task.
postgres_resources = {
cpu = 300
memory = 256
}
| Name | Type | Default | Description |
|---|---|---|---|
| job_name | string | "rallly" | 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/lukevella/rallly:latest" | The Rallly container image. Pin a tag in production. |
| postgres_image | string | "postgres:16-alpine" | The PostgreSQL image for the bundled database. |
| port | number | 3010 | Host port for the Rallly web UI. |
| db_port | number | 5432 | Host port for the co-located PostgreSQL. |
| db_password key | string | "rallly" | Password for the Rallly PostgreSQL user. |
| base_url | string | "" | Public base URL Rallly is served at (NEXT_PUBLIC_BASE_URL). Empty = http://localhost:<port>. Set this to the real host/domain — links in emails use it. |
| secret_password set me | string | "change-me-to-a-random-32-char-secret-value" | Secret used to encrypt user sessions (SECRET_PASSWORD). Must be at least 32 characters. Generate with: openssl rand -hex 32. |
| support_email | string | "support@nomploy.local" | From/support address used for outgoing email and shown to users (SUPPORT_EMAIL). |
| db_data_volume | string | "rallly_db_data" | Named volume for PostgreSQL data (/var/lib/postgresql/data). Holds all polls. |
| 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 Rallly app task. |
| postgres_resources | object | {
cpu = 300
memory = 256
} | Resources for the PostgreSQL task. |
No variables match.
This pack stores data in one Docker named volume:
rallly_db_data
⚠ This pack bundles a database. A cold copy of the volume can be inconsistent — for a reliable backup, dump the DB (pg_dump / mysqldump) or stop the job while backing up.
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/rallly_db_data/_data
rclone (sync to S3/R2)
rclone sync /var/lib/docker/volumes/rallly_db_data/_data backup:<bucket>/rallly_db_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.
Rallly — a self-hosted scheduling tool for finding the best time to meet. Create a poll with candidate dates/times, share a link, collect everyone's availability, and lock in the winning slot. A privacy-friendly Doodle alternative.
All-in-one host-networked Nomad job: a PostgreSQL sidecar plus the Rallly app. Database migrations run automatically on first boot.
nomad-pack registry add nomploy https://github.com/Nomploy/nomad-packs
nomad-pack run rallly --registry=nomploy
| Variable | Default | Description |
|---|---|---|
port |
3010 |
Web UI port (PORT). |
base_url |
"" → http://localhost:<port> |
NEXT_PUBLIC_BASE_URL — set to your real domain; poll links and emails use it. |
secret_password |
change-me-… |
SECRET_PASSWORD — encrypts sessions. Must be ≥ 32 chars (openssl rand -hex 32). |
support_email |
support@nomploy.local |
SUPPORT_EMAIL — from/support address. |
db_password |
rallly |
PostgreSQL password. |
db_port |
5432 |
Host port for the bundled PostgreSQL. |
db_data_volume |
rallly_db_data |
/var/lib/postgresql/data — all polls. |
resources / postgres_resources |
see variables.hcl |
Per-task resources. |
To send email invitations, add SMTP env vars (SMTP_HOST, SMTP_PORT, SMTP_USER,
SMTP_PWD, SMTP_SECURE, NOREPLY_EMAIL) to the rallly task. Pin the job to the node holding
the volume with constraints. Serves plain HTTP — front it with a reverse proxy for TLS.