AI

Install n8n Nod on Linux: Self-Hosted Personal Agent with Ollama

I wanted Nod running on a Linux server I already pay for, not on my laptop, so it could keep working on errands while the laptop slept. The desktop app gets most of the attention, and the self-host path gets a few lines in most write-ups. Then my first attempt at pointing it at a model server on the host failed with ECONNREFUSED on the very address Nod pre-fills, because inside Docker localhost is the server container, not your host.

Original content from computingforgeeks.com - post 203678

These notes take you from a fresh server to Nod’s login screen on port 4310 through an SSH tunnel. They cover the one override that lets the container reach a model on the host, a real gpt-oss:20b run on GPU and on CPU, the approval card in action, and the checks I ran to see what the sandbox can and can’t touch. I built it in December 2026 on box1, an Ubuntu 24.04 server VM with 8 vCPUs and 32 GB of RAM, running Docker 29.10.1, Compose v5.8.1 and Nod’s nod-v0.10.8 tag. Box1 has no GPU, so Ollama 0.40.21 ran on a rented RTX 4090 and an SSH reverse tunnel put it on box1’s Docker bridge, exactly where a local install would listen.

Sorting out what Nod is, and what it isn’t

Nod is a personal agent from n8n Labs: you chat with it, and it reads your mail, drives a real browser, writes files in a sandbox and asks you before it does anything you didn’t clearly ask for. It’s open source under Apache 2.0 and still labelled a preview. The onboarding screen says “This is a preview version of Nod, developed by n8n” right under the Get started button.

It isn’t n8n workflows with a chat box on top. Nod’s own docs on the n8n connection say that “Without n8n in the request, Nod uses its own tasks and schedules.” It can build a workflow inside an n8n instance you connect, as a draft you publish later, but it never needs one. If what you actually want is the workflow engine, our guide to deploying self-hosted n8n with no downtime is the better starting point.

This is the layout the steps below build on box1, with Ollama bound to the Docker bridge address on the host. The server is the only piece that holds keys and the only one configured to use the model; the sandbox only gets started by the runtime proxy.

Nod self-host architecture diagram on box1: server on 127.0.0.1:4310 talks to postgres, the runtime proxy and Ollama on the host through host.docker.internal; runtime starts the browser and workspace sandbox

The backend and control networks are internal, so neither the database nor the Docker socket proxy can reach the internet. I’ll prove each of those claims with docker commands further down.

Sizing the box before you start

The self-host page asks for 2 CPUs, 8 GB of RAM and 50 GB of disk, plus Docker 25 or newer with Compose v2, OpenSSL and sha256sum. That’s a floor for Nod alone. What decides the real size is where your model runs:

  • API model only: the docs’ floor is fine; idle, Nod used about 400 MiB across all six containers on box1
  • Images on disk: about 7.8 GB after the build (workspace 2.94 GB, server 2.17 GB, browser 1.9 GB, plus postgres and node)
  • Memory limits from .env: 2 GB server, 3 GB browser, 2 GB workspace
  • Local gpt-oss:20b on the same box: Ollama’s library page says it runs “on systems with as little as 16GB memory”, so plan for 24 to 32 GB total

If you’re going local, the CPU and memory bandwidth decide how long each reply takes, and Nod sends a lot of context with every turn. On an 8-thread i7-7700 with no GPU, gpt-oss:20b took 19 minutes for one chat completion, so treat CPU-only as a background-job setup at best. The numbers are in the comparison section.

Installing Docker and building the stack

Nod wants Docker 25 or newer with the Compose v2 plugin, so I skipped Ubuntu’s own packages and used Docker’s apt repository. These are the commands I ran on box1:

sudo apt-get update && sudo apt-get install -y ca-certificates curl git
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo $VERSION_CODENAME) stable" | sudo tee /etc/apt/sources.list.d/docker.list
sudo apt-get update && sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo usermod -aG docker $USER

Log out and back in so the group change applies, then confirm every prerequisite the self-host page lists in one go:

docker --version && docker compose version && openssl version && sha256sum --version | head -1

All four tools answered on box1, with Docker comfortably past the version 25 floor:

Docker version 29.10.1, build c48360f
Docker Compose version v5.8.1
OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024)
sha256sum (GNU coreutils) 9.4

n8n also publishes a prebuilt server bundle, but it comes from a GitHub Actions workflow whose artifacts expire after 14 days, so I built from a release tag instead. Pin the tag so a rebuild next month gives you the same code:

export NOD_TAG="nod-v0.10.8" # pin: tested release https://github.com/n8n-io/nod/releases
cd ~
git clone --depth 1 --branch "${NOD_TAG}" https://github.com/n8n-io/nod.git
cd nod/deployment/self-host

The tag pointed at commit c377119, “chore(release): Nod desktop 0.10.8”, dated 3 December 2026. Next comes setup.sh, which writes .env with a random project name and three generated secrets: NOD_AUTH_TOKEN, NOD_VAULT_KEY and NOD_POSTGRES_PASSWORD.

sh setup.sh
ls -l .env
grep -vE "TOKEN|KEY|PASSWORD" .env

The file came out mode 600, and the non-secret half shows the defaults worth knowing about. Note that the server binds to loopback only and that analytics are already off:

Ready. Run: docker compose --file compose.yaml --env-file .env up -d --build --wait
Open the configured NOD_PUBLIC_URL and enter NOD_AUTH_TOKEN from .env. For a remote server, open an SSH tunnel first.
For HTTPS on port 443, set NOD_PUBLIC_URL and run: docker compose --file compose.yaml --env-file .env --profile https up -d --build --wait
-rw------- 1 philip philip 440 Dec  4 10:09 .env
PORT=4310
NOD_BIND_ADDRESS=127.0.0.1
NOD_PUBLIC_URL=http://localhost:${PORT}
NOD_ANALYTICS_ENABLED=false
NOD_SERVER_MEMORY=2g
NOD_BROWSER_MEMORY=3g
NOD_WORKSPACE_MEMORY=2g
COMPOSE_PROJECT_NAME=nod-e67b9cc81cb853c4

I didn’t use the exact command setup.sh prints. Passing --file compose.yaml stops Compose from loading a compose.override.yaml, and you’ll want that override in a few minutes. Plain docker compose in this directory reads compose.yaml and .env on its own, so I timed the build like this:

time docker compose up -d --build --wait

On eight vCPUs the three local images took just under six minutes to build, and --wait returned only once every health check passed:

docker compose up --build --wait output with all six Nod containers healthy after 5m48s

A list of the running containers shows what you’ve actually deployed. Only one of them publishes a port, and it’s on 127.0.0.1:

docker ps --format "table {{.Names}}\t{{.Image}}\t{{.Status}}\t{{.Ports}}"

Six containers, two of them built from the same nod-workspace image: one runs the sandbox and the other owns its network and firewall.

docker ps listing the six Nod self-host containers with the server bound to 127.0.0.1:4310

Postgres listens on 5432 inside its own network only; nothing on the host or the LAN can reach it.

Getting into the UI through an SSH tunnel

Because the server binds to loopback, you reach it with a tunnel from your own machine. Swap in your server’s address and your login:

ssh -L 4310:127.0.0.1:4310 [email protected]

Keep that session open and browse to http://localhost:4310 on your laptop. Use localhost exactly, since NOD_PUBLIC_URL is set to it and the troubleshooting page says other host names get “This host is not permitted.” You’ll need the token from the server’s .env:

grep '^NOD_AUTH_TOKEN=' ~/nod/deployment/self-host/.env | cut -d= -f2

Paste it into Authentication token (1) and press Connect (2). Treat it like a root password: the page itself warns that it “gives full access to your assistant”.

Nod self-host login page asking for the NOD_AUTH_TOKEN value
  1. 1Authentication token
  2. 2Connect

Onboarding then asks about email (Gmail or Outlook through Composio, or Continue without email) and a few profile questions you can skip with Not now. After that it wants a model provider.

Nod onboarding provider picker with OpenAI, Anthropic, Google Gemini, OpenRouter and More providers

The front page lists the big hosted providers. A local server hides at the very bottom of More providers, which is where the next section starts.

Pointing Nod at Ollama on the host

Nod’s local models page sets two hard rules: the model must support tool calls, and the server must give it at least 64k of context, because Nod sends “about 20,000 tokens” of instructions and tool definitions before your message. Its Ollama recipe is gpt-oss:20b with OLLAMA_CONTEXT_LENGTH=65536, and that’s the model I’d start with too.

Install Ollama with its official script and pull the model while Ollama still listens on its default loopback address:

curl -fsSL https://ollama.com/install.sh | sh
ollama pull gpt-oss:20b

Open More providers in Nod and scroll to the end of the list for Your own server:

Nod More providers list with the Your own server option at the bottom

The form pre-fills http://localhost:11434/v1. That’s right for the desktop app and wrong for Docker, and Nod tells you so the moment you press Connect:

Nod Your own server form failing on localhost:11434 with Model discovery failed ECONNREFUSED

The docs admit that inside Docker localhost “refers to Nod’s container”, but they stop short of naming the address that works. So I asked the server container directly, trying the three addresses people usually reach for:

Nod server container failing to reach port 11434 on localhost, host.docker.internal and the outbound gateway

All three fail, for different reasons:

  1. localhost: the server container itself, nothing on 11434
  2. host.docker.internal: ENOTFOUND, because Linux Docker doesn’t define it unless you ask
  3. 172.21.0.1, the outbound network’s gateway: ECONNREFUSED, since a listener bound to 127.0.0.1 never sees that traffic

The fix has two halves. First, give the server container a host.docker.internal entry that maps to Docker’s host-gateway. Create the override next to compose.yaml:

vim ~/nod/deployment/self-host/compose.override.yaml

Add only the extra host for the server service, so nothing else in the stack changes:

services:
  server:
    extra_hosts:
      - "host.docker.internal:host-gateway"

Recreate just the server. Compose merges the override because there’s no --file flag on the command:

cd ~/nod/deployment/self-host
docker compose up -d --wait server

On box1, host-gateway resolved to the docker0 bridge, 172.17.0.1. That bridge showed DOWN in ip -br addr because no container uses it, but its address is still assigned and bindable. So the second half is making Ollama listen there. The Ollama FAQ sets server variables through a systemd drop-in:

sudo mkdir -p /etc/systemd/system/ollama.service.d
sudo vim /etc/systemd/system/ollama.service.d/override.conf

Bind to the bridge address instead of 0.0.0.0, so the model isn’t exposed to your LAN, and raise the context to Nod’s minimum. The After= line keeps Ollama from starting before Docker has created docker0 at boot:

[Unit]
After=docker.service

[Service]
Environment="OLLAMA_HOST=172.17.0.1:11434"
Environment="OLLAMA_CONTEXT_LENGTH=65536"

Reload systemd and restart the service:

sudo systemctl daemon-reload
sudo systemctl restart ollama

The ollama CLI reads the same variable to find the server, so from now on run it as OLLAMA_HOST=172.17.0.1:11434 ollama list. On the GPU host that served box1, the model was pulled and loaded with the full 64k window:

ollama list and ollama ps showing gpt-oss:20b loaded 100% GPU on an RTX 4090 with a 65536 context

The CONTEXT column is the one to check. It reads 65536, so OLLAMA_CONTEXT_LENGTH took effect; if it shows a smaller number, the drop-in wasn’t loaded. The model sits at 12 GB in VRAM and 13 GB on disk. Now check the path from Nod’s side by asking the server container to resolve the name and list models:

Nod server container resolving host.docker.internal to 172.17.0.1 and listing gpt-oss:20b from /v1/models

On box1 that 172.17.0.1:11434 listener was the reverse tunnel from the GPU host rather than a systemd unit, so the drop-in above is what you’d use with Ollama installed on the box itself; from Nod’s side the two look identical. The listener is on 172.17.0.1:11434 only, the server resolves host.docker.internal to that address, and /v1/models returns gpt-oss:20b with a 200. Back in the UI, set Server address (1) to http://host.docker.internal:11434/v1 and press Connect (2).

Nod Your own server form pointed at host.docker.internal on port 11434
  1. 1Server address
  2. 2Connect

Discovery took 2 seconds. Nod showed “Connected to host.docker.internal:11434” with gpt-oss:20b (1) tagged Recommended, then ran a model check before letting me press Continue (2). That check failed the first time:

Nod connected to host.docker.internal:11434 with gpt-oss:20b selected and the cold-load error This model could not complete its last request
  1. 1Model
  2. 2Continue

“This model could not complete its last request.” isn’t a network problem. The Ollama log showed “client connection closed before llama-server finished loading” and a 499 after 45.12 seconds: Nod gave up while the weights were still loading. Loading gpt-oss:20b cold at 64k context took 1 minute 5 seconds on that host. Preloading the model and keeping it resident fixed it, and the next check passed:

curl -s http://172.17.0.1:11434/api/generate -d '{"model":"gpt-oss:20b","keep_alive":"2h"}'

For a box that should never unload the model, add Environment="OLLAMA_KEEP_ALIVE=-1" to the same drop-in. The onboarding form carries a warning worth reading twice, “This model also decides when I ask before acting. Small models can get that wrong.”, and the connection form under Settings repeats it. The approval section below shows what that looks like in practice.

If you’d rather keep it out of the UI, the local models page also documents a .env route: LLM_PROVIDER=compatible, OPENAI_COMPATIBLE_BASE_URL, OPENAI_COMPATIBLE_API_KEY and LLM_MODEL. If ufw is on, the Docker subnets also need a rule to reach the model port:

sudo ufw allow from 172.16.0.0/12 to 172.17.0.1 port 11434 proto tcp

A 172.16.0.0/12 source covers Docker’s first default networks, including the outbound one the server uses; on a host with many networks, check the outbound subnet with docker network inspect. If discovery times out instead of failing fast, a host firewall is the first thing I’d check.

Adding an API model and choosing the trust checker

The hosted route is the same picker with a key instead of an address. Per the models page, Nod speaks to OpenAI (including sign-in with a ChatGPT Plus or Pro plan), Anthropic, Gemini, OpenRouter, Vertex, Bedrock, Azure, Groq and more. You can also set separate models for schedules and background work, and a light model that subagents use. Keys go into the server’s vault, encrypted with NOD_VAULT_KEY.

The setting that matters more than which provider you pick is the trust checker, the model that decides whether an action needs your yes. It’s controlled by NOD_TRUST_MODEL in the server’s .env:

ValueWhat checks your actions
selected (default)Your selected model at reduced reasoning (the pages disagree on the level)
llmA known small model from your connections; with none, nothing gets approved
decisionThe first available decision model, or a small LLM

The two docs pages disagree on the reasoning level. The approvals page says “your selected model at its lowest reasoning setting”; the models page says medium. Either way, the default means that with a local model selected, your local model is the checker, and the approvals page is blunt that “smaller models decide less reliably.” My plan for box1 is a hosted model as the selected one and the local model for long background work, not the other way round.

Don’t reach for llm if Ollama is your only connection. The models page says the small LLM comes from a connection that offers a known small model, and “If no small model is available, the check cannot authorize an action.” Set the variable in the server’s .env and apply it with docker compose up -d --wait; the docs warn that docker compose restart keeps the old values.

How the approval card asks before acting

Nod’s approvals page describes the gate in plain terms. Reads and drafts run on their own. For anything else, “the Nod server asks one checker whether you asked for it”, and if your words or rules don’t cover the action, Nod asks you. If the checker can’t answer at all, it asks too.

What you see is a card in the chat with a short question and the details you need, such as the account, recipient, subject, amount or destination. Tool names and JSON stay out of it. It carries a button for the action and a Cancel; in tasks, Skip this step and Stop the task take the place of Cancel. While the card waits, the docs say app actions that task started after the question don’t run, and a recurring schedule “skips runs until you answer”.

Two limits from that page matter on a slow box. Reviews that can’t be cancelled keep a 45-second limit, and the local models page’s troubleshooting table says “A failed check requires confirmation in chat and tasks.”

With gpt-oss:20b as both the chat model and the checker, the card was harder to trigger than I expected. These are the errands I sent against https://httpbin.org/forms/post, a harmless pizza order form that just echoes what you submit:

What I typedCard?What happened
“Open … in the browser, fill … Philip, Medium, Bacon, and submit it”No“Task done” at 37 s, but the reply said it couldn’t find the fields and leaked a raw {"intent":"final",…} envelope into the chat
“Go to … and order me a medium pizza with bacon, the name on the order is Philip”NoThe model skipped the browser and sent the order as a direct POST from the workspace in about 19 s, so no check ran
“Add a rule: always ask me before you submit any web form”n/aNod replied that it noted it, yet Settings → Memory showed 0 notes
Large, Onion, submitNoThe model asked in plain text; after “Yes, go ahead.” it reported submitting Medium and Bacon, the previous order
“Using your browser only, open … and find out what that page returns when the form is filled in with customer Ana and size Small. Don’t use the workspace.”YesCard at 36.8 s

The second row matters most. The same approvals page says commands run in Nod’s workspace “without a trust check”, so once the model chose curl over the browser, nothing was going to ask me. The last errand was phrased as a lookup, and the approvals page is explicit: “For a question or a lookup, Nod asks.” That’s the one that produced a card, with Submit form (1), Skip this step (2) and Stop the task (3):

Nod approval card for the Ana Small form errand with Submit form, Skip this step and Stop the task options
  1. 1Submit form
  2. 2Skip this step
  3. 3Stop the task

The card names the action in plain words, “Order Ana Small via web form”, and a “1 task needs you” pill stays pinned above the message box. Until you answer, the task sits in the Needs you panel and nothing else in it moves:

Nod task paused with the Needs you panel and 1 task needs you while it waits for an answer

I pressed Submit form. The browser step then failed inside the page with TypeError: Cannot set properties of undefined (setting 'value'), and Nod marked it in a way I hadn’t seen documented:

Nod browser step marked May have run after the approved form submit failed with an evaluation error

“May have run. The app didn’t confirm it, and Nod won’t retry it. Check the app before trying again.” That’s the right call for an order form: a half-finished submit is never replayed behind your back. A second card then asked about “Submit order”, and I stopped the task there. My takeaway is that the card works, but with a 20B model as checker it guards the browser path, not the workspace, and a rule typed into chat is not a rule until it shows up in Settings.

Checking what the sandbox can reach

I didn’t want to take “model keys stay with the server” on trust, so I checked it four ways. First, the network layout. Two of Nod’s five networks are marked internal:

docker network ls showing Nod backend and control networks marked internal

The backend network carries postgres and the control network carries the runtime proxy, the only container that mounts /var/run/docker.sock. The server sits on backend, control and outbound; the browser and workspace each get their own network and share nothing with the server.

Second, the environment, with a key actually stored. I added an API key to the Ollama connection under Settings → Manage → Add connection, using the form’s “API key (optional)” field and a made-up sentinel value, c4g-demo-9f2b7e1d4a, that I could search for. Ollama ignores the key, but Nod stores it exactly as it would a provider key. This loop prints only the names of secret-looking variables in each container, never their values, and then lists every container that mounts the Docker socket:

for c in server-1 workspace browser; do n=$(docker ps --format "{{.Names}}" | grep -m1 -- "$c"); echo "== $n"; docker exec $n env | cut -d= -f1 | grep -E "TOKEN|KEY|PASSWORD|DATABASE_URL|DOCKER_HOST" || echo "(no secret variables)"; done; echo; docker ps --format "{{.Names}}" | while read n; do docker inspect -f "{{.Name}}{{range .Mounts}} {{.Source}}{{end}}" $n; done | grep docker.sock

All the secrets live in the server; the workspace and browser have none, and only the runtime touches the socket:

Environment check after adding an API key: Nod secrets only in the server, none in the workspace or browser

Adding the key created no new variable anywhere, so I went looking for the value itself. I’d rebuilt box1 for the model runs, which is why the Compose project name here differs from the one in the setup output. I searched every container’s environment and filesystem for the sentinel, then a full pg_dumpall of the database, and finally read the vault table:

Sentinel API key absent from every Nod container and postgres plaintext, stored only as an encrypted vault row

Zero hits in all six containers and zero in the database dump. The key exists only as a 160-character ciphertext in a vault_app_grants row whose ID matches the model connection’s ID. That lines up with the source: src/server/model-store.ts calls vault.put(row.id, JSON.stringify(row.credential), client), and only the server holds NOD_VAULT_KEY to decrypt it. Back up .env with the database, because a restored dump without that key is a pile of unreadable credentials.

Third, the workspace firewall. The docs say it blocks private and reserved IPv4, cloud metadata included. I ran curl inside the sandbox against the GCP metadata endpoint, the Nod server port, SSH on the VM’s own private address and a public site:

Nod workspace sandbox blocked from cloud metadata, the server port and the LAN while example.com returns 200

Everything private failed with curl exit 7 and https://example.com came back 200, running as the unprivileged node user. That metadata block is the one I care most about on a cloud VM, because a service account token is one HTTP call away there.

Fourth, the browser. The sandbox and browser page says “The browser reaches only public addresses,” so I asked Nod in chat to open http://169.254.169.254/computeMetadata/v1/. It answered “Invalid browser request.” That message comes from Nod’s browser proxy: src/providers/agent-browser/network.ts rejects private destinations and returns it as a 400. The guard lives in that proxy, though, not in the container’s network. From a shell in the browser container, plain Node sockets went straight through:

Raw node sockets in the Nod browser container connecting to cloud metadata, Ollama on 172.17.0.1 and the VM private address

Metadata, Ollama on the bridge, SSH on the VM’s private address and a public site all connected, and a metadata fetch returned the project ID with a 200. The model can’t reach a shell in that container through Nod’s tools, so this isn’t an exploit path on its own, but it means the browser’s private-network rule is enforced by one piece of code rather than by a firewall like the workspace’s. On a cloud VM, I’d also block metadata for Docker’s subnets in the host firewall, which the self-host page hints at when it warns that metadata services can hand cloud credentials to workspace commands. If you’re comparing sandboxes, agent-browser driven from Claude Code runs its browser on your own user account, which is a very different trust model.

Local model or API model?

Nod works with either, but they behave differently in ways the setup screen doesn’t spell out. This is what the local models, spending and approvals pages say, side by side:

Local (Ollama)API provider
Context needed64k minimum, about 20,000 tokens used before your messageHandled by the provider
Usage page“No price”, not counted toward the monthly limitPriced per request, $200 monthly limit set at setup
Automatic preparationBlocked: “An unknown model price blocks automatic preparation”Off by default; $5 monthly allowance once you turn it on
Slow repliesShows “Waiting for”, resends after 30 minutes, up to 3 timesRarely an issue
Trust checker by defaultThe local model itself, though the same page also mentions a separate small modelThe hosted model
Where prompts goChat stays on your box; a separate checker service and web search (Exa) see their own inputsTo the provider

The “Waiting for” row tells you how slow Nod expects a local model can get, so I measured it. I ran the same Ollama 0.40.21 and the same gpt-oss:20b at 65536 context twice: once on the RTX 4090, and once on the same host’s Intel i7-7700 (4 cores, 8 threads) with the GPU hidden through CUDA_VISIBLE_DEVICES=-1. The errand was the simplest one I could think of: “Using your browser only, open https://example.com and tell me the main heading”.

MeasurementRTX 4090 (24 GB)i7-7700, CPU only
ollama ps12 GB, 100% GPU, 6553614 GB, 100% CPU, 65536
Cold model load1 min 5 s (Nod’s check dropped the request at about 45 s)Preloaded before the run
One chat completion0.48 to 4.5 s19 min 10 s
example.com errand, end to endAbout 9.4 s, answered “Example Domain”About 19.3 min, answered a different question
httpbin form errands“On it” at about 19 s, done at 37 s; card at 36.8 sNot attempted after the first turn

On CPU, Nod’s own status line counted up from “Waiting for gpt-oss:20b · 1 min” to 11 minutes and kept going:

Nod showing Waiting for gpt-oss:20b while the CPU-only Ollama works through the first turn

The Ollama log puts a number on it. Two requests failed with a 500 in under a second at the start (the GPU run had one of those too, and Nod retried past it), and the one that went through took 19 minutes 10 seconds to come back:

ollama ps showing gpt-oss:20b 100% CPU on an i7-7700 and a chat completion that took 19m10s

Worse, the reply was wrong. Instead of the heading, it listed the earlier approvals in that chat, with “Submit order” as pending and “Submit form” as uncertain. The same chat shows the GPU run above it answering “Example Domain” in seconds:

Nod chat with the GPU answer Example Domain and the CPU-only reply 19 minutes later answering an older question

So a 7th-gen desktop CPU stays inside the 30-minute resend window, which only fires when the server sends nothing at all, but one turn eats a third of an hour. A newer CPU with more memory bandwidth will do better, yet the gap to a GPU here was roughly 120 times on the full errand. For interactive use, put gpt-oss:20b on a GPU with 16 GB or more, or pick a hosted model and keep Ollama for background work. A thread on the n8n forum, Nod on Windows with local Ollama, shows the other failure: with a visual Qwen model the poster says Nod “keeps telling me it has only the most basic capabilities” and won’t browse, which fits the tool-call requirement. If you’ve already got Ollama on a desktop, the CPU tuning in running local LLMs on Fedora with Ollama carries over to this box.

Changing the privacy settings first

The self-host .env already sets NOD_ANALYTICS_ENABLED=false, and the analytics page says that value “always disables it”. There’s still a short list I’d go through before the first real errand:

  • NOD_FEEDBACK_ENABLED=false in .env turns off the separate feedback collector; add NOD_ONBOARDING_EMAIL_URL= with an empty value too, since a missing line falls back to n8n’s signup webhook
  • Settings → Privacy & data: check Share usage data and Share conversation traces (traces start off)
  • Settings → Memory: turn off Save new notes if you don’t want Nod keeping notes
  • Web search: add your own Exa key, or it uses Exa’s public MCP service

After editing .env, apply it with docker compose up -d --wait, not docker compose restart. The privacy page also notes that turning a switch off “does not delete data already sent”, which is the best argument for doing this on day one.

Errors I hit, and how I got past them

The first four came straight from box1. The last two are from Nod’s troubleshooting page and are easy to trigger with a tunnel.

“Model discovery failed: the connection failed (ECONNREFUSED).”

You left the pre-filled http://localhost:11434/v1 in place, which points at the server container. Add the host.docker.internal:host-gateway override, bind Ollama to 172.17.0.1, and use http://host.docker.internal:11434/v1.

host.docker.internal gives ENOTFOUND

On box1 this was the state before the override existed. If you’ve added it and still see this, the override wasn’t loaded: Compose merges compose.override.yaml only when you don’t name files, so starting the stack with --file compose.yaml, the form setup.sh, install.sh and restore.sh use, silently drops it. Run plain docker compose up -d --wait server from the self-host directory and check again with docker exec and getent hosts host.docker.internal.

“This server has no models Nod can use. Nod needs models with tool support.”

The connection works but no listed model supports tool calls, or nothing is pulled yet. Run OLLAMA_HOST=172.17.0.1:11434 ollama list and pull a tool-capable model such as gpt-oss:20b.

“This model could not complete its last request.”

Nod reached the model, but its check timed out while Ollama was still loading the weights. The Ollama log shows “client connection closed before llama-server finished loading” and a 499 at about 45 seconds. Preload the model with curl -s http://172.17.0.1:11434/api/generate -d '{"model":"gpt-oss:20b","keep_alive":"2h"}', wait for OLLAMA_HOST=172.17.0.1:11434 ollama ps to list it, and press Connect again.

“This host is not permitted.”

You opened Nod as 127.0.0.1:4310 or through a proxy that rewrote the Host header. Open exactly http://localhost:4310, the value of NOD_PUBLIC_URL.

The port is in use

Something else holds 4310, on the server or on the laptop end of your tunnel. Changing only the local side of the tunnel doesn’t work, because Nod answers only at the host in NOD_PUBLIC_URL and you’d get “This host is not permitted.” instead. Set another PORT in the server’s .env (the URL follows it), apply it with docker compose up -d --wait, and use the same number on both sides, for example ssh -L 14310:127.0.0.1:14310 [email protected], then browse to http://localhost:14310.

Picking a box to leave it running on

For Nod with a hosted model, any small always-on machine with 8 GB of RAM covers it. Once you want gpt-oss:20b next to it, the 19-minute CPU turn above says a GPU with at least 16 GB of VRAM is what makes it usable; a 32 GB mini PC with a recent Ryzen is the floor only if the model does slow background work. Our mini PC picks for a homelab list the ones with that headroom, and the AI operating systems roundup covers what else people run on such boxes.

Day-to-day upkeep is plain Compose. The server operations page uses docker compose logs --tail 100 server for logs and sh backup.sh with an absolute path for backups, and it warns against docker compose down --volumes. For another self-hosted agent stack with a local model, see how SoduWork runs in Docker with Ollama.

Where the docs and my runs disagree

The local models page says both that the checker uses your model at its lowest reasoning setting and that trust uses a separate small model or decision service. My runs can’t settle it. With only Ollama connected there was no small model or decision service to fall back to, and the one errand that reached the checker through the browser did get a card, so whichever model judged it, it judged correctly. The “order me” errand doesn’t count either way, because it went through the workspace and never reached the checker.

Two things I’d flag to anyone running it for real. A rule typed into chat (“always ask me before you submit any web form”) got a “noted” reply but no entry under Settings → Memory, so set rules where you can see them. And the workspace path is out of the checker’s reach by design, so a model that prefers curl to the browser will act on forms without asking.

Keep reading

Run Amazon Ergo Locally: Hardware Requirements and vLLM Setup AI Run Amazon Ergo Locally: Hardware Requirements and vLLM Setup Open Source LLM Comparison Table (2026) AI Open Source LLM Comparison Table (2026) Ollama Models Cheat Sheet: Best Models by VRAM, Tested (PDF) AI Ollama Models Cheat Sheet: Best Models by VRAM, Tested (PDF) Encapsule on Fedora 45: Isolated Dev Containers vs Toolbx Containers Encapsule on Fedora 45: Isolated Dev Containers vs Toolbx ARTEX AI Penetration Testing: Self-Hosted Install Guide AI ARTEX AI Penetration Testing: Self-Hosted Install Guide Install Magnum Container Service on OpenStack Openstack Install Magnum Container Service on OpenStack

Leave a Comment

Press ESC to close