Status: Coming soon: not in the release until its source is published.
Docker Compose will be the supported way to self-host NuraMesh. Coming soon: not in the release until its source is published. One stack on one machine runs the API server, the runner that executes runs, PostgreSQL and the web app. Nothing is published beyond the machine itself, and nothing is sent out.
Prerequisites
Section titled “Prerequisites”- Linux or macOS with Docker (Engine or Docker Desktop) and Compose v2.
- The NuraMesh source with its Compose folder. The images are built on your machine; nothing is pulled from a registry of ours.
uv, Node 24 withpnpm,opensslandpython3for the build, and network access for the first build.- A team folder (Start from a template). The stack mounts it read-only.
- Synthetic data only. Do not put real customer data in the stack yet: Data and privacy.
What runs
Section titled “What runs”| Service | Role |
|---|---|
postgres |
the NuraMesh store, PostgreSQL 16 |
migrate |
runs once at every start: applies database migrations before any other service starts |
api |
the API server, with authentication on. It is never published; only web can reach it |
runner |
runs the team’s code for runs started from the app or the API. One runner per database |
retention |
every hour, deletes expired content and expired sessions |
web |
the TLS listener on 127.0.0.1:8443 and the only way in |
worker, temporal, temporal-db |
optional, off by default: durable runs on a Temporal development server, for evaluation only |
-
Create the secrets. The stack keeps each secret in its own file in a
secretsfolder next to the Compose file; the setup script prints which files it created and never a value. -
Copy the example environment file to
.envand set the absolute path of your team folder in it. -
Build the images locally, then start the stack and wait until every service is healthy.
-
Open
https://127.0.0.1:8443. The certificate is self-signed, so the browser warns once. -
Create the first owner. No account exists at first. Make a one-time setup token in a terminal, from the Compose folder:
Terminal window docker compose exec api nuramesh-env nuramesh auth new-setup-token --team /data/teamThe token is shown once, lives 24 hours and works once. Paste it on the app’s first screen.
Every operator command in the stack goes through nuramesh-env, as above. For example, to check the ledger:
docker compose exec api nuramesh-env nuramesh ledger verify --team /data/teamCheck it worked
Section titled “Check it worked”- Every service is
healthyor, formigrate, exited with code 0:docker compose ps. - The app opens at
https://127.0.0.1:8443. GET /v1/healthnames the engine that runs your runs.- The ledger check above ends without a broken stream.
Limits to know
Section titled “Limits to know”- One runner per database: no horizontal scaling and no automatic failover. Nothing runs while the machine is down.
- The stack sends no email. Operator actions that would need a mailed link have a command instead.
- The stack never listens on a public address. Reaching it from another machine is your explicit choice: put a
TLS proxy of your own in front of
web. - Stopping the stack keeps the data volumes. Removing the volumes deletes the ledger and the keys.
- Back up the database and the key volume together: one without the other is not a backup. See Backup and restore.
Troubleshooting
Section titled “Troubleshooting”| You see | Do this |
|---|---|
An operator command exits with code 2 and names NURAMESH_DATABASE_URL |
The command did not go through nuramesh-env. Add it, as in step 5 |
| The setup token command is refused | It needs an interactive terminal. Run it by hand, not from a script or a pipe |
| The browser warns about the certificate | Expected: the certificate is self-signed. Trust it for that address |
Many 429 answers at sign-in |
All local clients share one address, so the sign-in limit counts them together. Wait a minute |
| Something else | See Known issues and Support |
Next steps
Section titled “Next steps”- Diagnose with
nuramesh doctor. - Backup and restore, Upgrade and Store maintenance.
- Outgoing email and Turn on two-step sign-in.
- Kubernetes: a beta is expected in December.
Was this page helpful?