Homelab checklist
This checklist takes a nocturn that runs from a first test to one you leave running for a household. Work through it once; each item says why it matters and links to the how.
Keep it reachable
| Do this | Why | |
|---|---|---|
| 1 | Run it as a service: Docker with restart: unless-stopped, or a systemd unit for the binary | agents and watches run only while the daemon does |
| 2 | Keep the health check: the image has one; elsewhere probe nocturn health or GET /healthz | you learn when it stops |
| 3 | Pin a version (ghcr.io/efuturetoday/nocturn:<version>) and update on purpose | an update is a choice, not a surprise (Updates) |
Encrypt what leaves the house
| Do this | Why | |
|---|---|---|
| 4 | Reach it from outside only through a VPN or an HTTPS reverse proxy, never by forwarding port 8080 | the daemon has no TLS: chats, approvals and device credentials would travel in clear |
| 5 | Run the proxy on the daemon's machine and allow its name with NOCTURN_HOSTNAMES | only a proxy on the same machine is trusted for typing secrets (Remote access) |
| 6 | Bind to one interface when the machine has several: NOCTURN_HOST, or 127.0.0.1 behind a local proxy | it listens on every interface by default |
| 7 | To publish only MCP, forward /mcp and no other path | an MCP client needs nothing else |
Protect the keys
| Do this | Why | |
|---|---|---|
| 8 | Set NOCTURN_MASTER_PASSPHRASE to a long passphrase and keep a copy outside the machine | without it there is no vault; lost, the vaults cannot be opened again |
| 9 | Keep secrets in Vaultwarden with an account of nocturn's own that reads one collection | taking an item out takes the secret back (Connect Vaultwarden) |
| 10 | Give every Vaultwarden item an https:// URI with its host | an item without a host cannot be used |
| 11 | Point Vaultwarden at its https:// address | the daemon refuses plain http:// to anything but its own machine |
Back it up
| Do this | Why | |
|---|---|---|
| 12 | Back up all of nocturn-data/: workspaces/, devices.json, master.salt | everything nocturn keeps is in that one folder |
| 13 | Stop the daemon while you copy, or copy from a snapshot | files written mid-copy may not match |
| 14 | Keep master.salt with the backup and the passphrase apart from it | a restore needs both; one alone opens nothing |
| 15 | Never rename a workspace's folder | its encrypted files are keyed to the name |
sh
docker compose stop nocturn
docker run --rm -v nocturn_nocturn-data:/data -v "$PWD":/backup alpine \
tar czf /backup/nocturn-data.tgz -C /data .
docker compose start nocturnKeep control
| Do this | Why | |
|---|---|---|
| 16 | Keep at least one phone paired | a browser cannot be woken for approvals |
| 17 | Forget a lost phone under Settings › Devices | it loses access at once |
| 18 | Set tools that must never run unseen to Always ask (http_write, mail_send) | no answer can keep an allow there (Make a tool always ask) |
| 19 | Give agents targets, not tools: allow *.home.example, not * | an agent's reach stays what you meant |
| 20 | Look at Permissions under Changed and Allowed now and then | answers add up (Review what you allowed) |
Watch it
| Do this | Why | |
|---|---|---|
| 21 | Set NOCTURN_METRICS_TOKEN and scrape GET /metrics with that bearer | Prometheus sees the daemon and its version |
| 22 | Read the log with docker compose logs nocturn or your service manager | refusals, failed MCP servers and timeouts are logged |