The one-machine stack
This guide sets Thermite up to stay on one computer: control, its message bus and one rig run as containers under Docker or Podman, your work is kept in volumes, and you sign in with a token of your own. You install it from a release: one compose file that runs Thermite’s published images, so nothing is built on your computer. The guide also covers settings, updates, the ports, and what control needs before rigs on other machines can reach it.
Install on one machine walks through the first start step by step. This page assumes you know what control and a rig are. To build the images from the source code instead, as people who work on Thermite do, see Running Thermite locally.
Before you start
Section titled “Before you start”- A computer running Linux or macOS, with a few CPU cores, a few gigabytes of free memory, and disk space for the images (about 2.5 GB) and for what your projects build.
- Docker with Docker Compose, or Podman with
podman composeor podman-compose.docker-compose1.x, the old Compose v1, can’t read Thermite’s compose file, andpodman composeuses it first when it is installed: remove it. On a Mac, start Podman’s virtual machine first (podman machine start). curl, and access togithub.comandghcr.io, where the release and its images are.- For the rig to use NVIDIA GPUs: Linux, NVIDIA’s driver and NVIDIA’s container toolkit. See Use the machine’s NVIDIA GPUs.
To check the computer before the first up, build the command line and run npx thermite doctor in its folder. It checks Docker or Podman and the compose tool, port 8800, free disk and the clock, and, on a computer with an NVIDIA GPU, the driver and NVIDIA’s container toolkit. It also says what the rig will get: CPUs, memory and GPUs. Each problem it finds comes with a Fix: line. See Check the machine.
Start it
Section titled “Start it”From a terminal:
mkdir thermite && cd thermitecurl -fsSLO https://github.com/iammrduncan/thermite/releases/latest/download/compose.yamldocker compose run --rm init # or: podman compose run --rm initdocker compose up -d # or: podman compose up -d- The release. Each release has two files:
compose.yamland a shortREADME.md.releases/latest/download/gets the newest release’s;releases/download/v0.2.4/gets the files ofv0.2.4. The compose file’s first line names its release, such as# Thermite 0.1.1, and it pins each image by its digest, so the same file always runs the same images. - Check the file before
init. The release’s notes, and itsREADME.md, give the SHA-256 of itscompose.yaml, with the command that checks it:echo "<sha-256> compose.yaml" | sha256sum -c -on Linux, orshasum -a 256 -c -in place ofsha256sum -c -on macOS. It printscompose.yaml: OK. OnFAILED, the file is not the one the release published: don’t use it, download it again, and if it fails again, report it privately as the security policy says. - The tokens.
run --rm initruns theinitcontainer once. It writes local tokens to.dev/secrets/, next tocompose.yaml, and its last line islocal init: .dev readywith the number of files it made and kept. Before that, lines that start withrig:say what the rig can use (What the rig gets). Run it before the firstup:upstops with an error about a missing secret file until the tokens are there. It keeps every file that exists, so it is safe to run again. It runs as root in its container, with no network. Where root in a container is root on the computer, as with Docker on Linux, it gives what it makes to the owner of yourthermitefolder, so you can read and change the files. - The images. The first
updownloads them, which takes a few minutes. Later starts take seconds.
Check that it works:
docker compose ps # or: podman compose pscurl http://127.0.0.1:8800/v1/healthps lists control, nats, harness and supervisor as up, and the health check answers {"ok":true,"bus":"connected","degraded":false}: control is up, each of its loops comes around, it holds its connection to the message bus, and its disk is above its floor. In the first seconds it may say "bus":"away", until the bus’s server has started. The dashboard is at http://127.0.0.1:8800/ui. To sign in, paste the owner’s token: cat .dev/secrets/control-admin-token prints it.
On a computer without a screen, reach the dashboard from your own computer through SSH, then open the same address there:
ssh -L 8800:127.0.0.1:8800 you@host-1The command line
Section titled “The command line”Some steps below use Thermite’s command line. It comes with Thermite’s source code: build it once, with Node.js 22.19 or later and git, in a folder beside your thermite folder. Take the source of the release you run (v0.2.4 here), and link your tokens into it:
cd ..git clone --branch v0.2.4 https://github.com/iammrduncan/thermite.git thermite-sourcecd thermite-sourceln -s ../thermite/.dev .devnpm cinpm run buildRun npx thermite in your thermite-source folder; from another folder, npx may fetch some other package of that name. After a git pull with no new npm run build, the build is older than the source: it then runs the source, and says thermite: this build is older than its source, so the source runs; npm run build makes the build current. With the link, the guides’ paths, such as --token-file .dev/secrets/control-admin-token, work there too. The command line reference lists its commands. The stack doesn’t need the command line: each image has its own copy, as thermite. Only thermite doctor, which checks the computer itself, must run here and not in a container.
What runs
Section titled “What runs”| Container | What it is |
|---|---|
control | The dashboard, the REST API and MCP, on port 8800 |
nats | The message bus: a NATS server that carries the rig’s reports and live lines to control, and control’s commands and the rig’s config to the rig, over TLS, on port 4222 |
harness | The rig local-1: its judge and its agents, on the CPU, or on the machine’s NVIDIA GPUs with compose.gpu.yaml. It has no port outside the stack |
supervisor | The rig’s link to control. It also does the rig’s git work |
init | Makes .dev/ and your tokens, then stops. up runs it too; it finds the files there and keeps them |
enroll | At each up, once control answers and before the supervisor starts: enrolls the rig local-1 with control and writes the token control made into .dev/secrets/control-rig-token, then stops. A token written before is kept while control has the rig enrolled (thermite local enroll). enroll-2 does the same for local-2 |
docker compose --profile two-rigs up -d adds a second rig, local-2, which always runs on the CPU.
docker compose ps gives each container’s health: control, the harness and the supervisor each answer a health route that says whether each of their loops still comes around, and the nats container’s server is checked too. A container says (health: starting) for up to 5 minutes, then (healthy), or (unhealthy) once its check failed three times running, 30 seconds apart. Compose only reports it: see A part that is unhealthy. Each container’s log is bounded too: at most three files of 50 MB with Docker, one with Podman (Where the logs are).
The rig keeps 5 GiB free on each place it writes to: below that, it starts no new trial, judge’s job or export until there is room again, and says so on its page and under Needs you. Control keeps the same on its state and in the message bus’s store, and below it starts no new run. Set THERMITE_DISK_FLOOR_GIB in .env to change both, or 0 for none.
What the rig gets
Section titled “What the rig gets”The compose file sets no CPU or memory limits, so the rig can use all that Docker or Podman has. What that is depends on the machine:
| Machine | The rig gets |
|---|---|
| Linux | Every CPU and all the memory |
| Linux with NVIDIA GPUs | Every CPU and all the memory, and every NVIDIA GPU once NVIDIA’s container toolkit is installed and Thermite starts with compose.gpu.yaml (below). Without the toolkit, the CPUs and memory only |
| Linux with AMD GPUs | Every CPU and all the memory. The AMD GPUs are found but not used yet: Thermite’s GPU images are built on CUDA, which runs on NVIDIA GPUs only, and AMD GPUs need a ROCm image, which Thermite does not have yet |
| A Mac, with Apple silicon or Intel | The CPUs and memory of Docker’s or Podman’s virtual machine (give it more). No GPU: containers on macOS run in a Linux virtual machine, which can’t reach the Apple GPU (Metal), so MLX-style work can’t run in a rig yet |
init says what it found, in lines that start with rig:. On a Linux machine with Docker, for example:
rig: The containers have 32 CPUs and 134.0 GB of memory (on a Mac, the virtual machine's), and the stack sets no limits, so the rig can use all of them.init runs in a container, so it sees the CPUs and memory that containers get and the GPUs that NVIDIA’s driver lists, but not the machine’s programs. npx thermite doctor, from the command line, checks the machine itself: its Local rig check says the same, names AMD and Apple GPUs, and says how to fix what keeps a GPU from the rig.
Use the machine’s NVIDIA GPUs
Section titled “Use the machine’s NVIDIA GPUs”On Linux, the rig can use every NVIDIA GPU on the machine. It then runs the CUDA harness, the release’s image for GPUs, and splits the GPUs between the judge and the agents:
| GPUs | The split |
|---|---|
| 1 | The judge and the agents share it |
| 2 to 9 | The judge gets 1, the agents the rest |
| 10 to 16 | The agents get 8, the judge the rest |
| More than 16 | The rig takes the first 16: 8 for the judge, 8 for the agents |
Change the split later on the rig’s page, with Edit rig (Give a rig several GPUs).
-
Install NVIDIA’s driver, so that
nvidia-smilists the GPUs, and NVIDIA’s container toolkit. Then let the engine use the toolkit:Terminal window sudo nvidia-ctk runtime configure --runtime=docker && sudo systemctl restart docker # Dockersudo nvidia-ctk cdi generate --output=/etc/cdi/nvidia.yaml # PodmanDocker gets the GPUs through NVIDIA’s runtime, and Podman through the CDI spec. Make the CDI spec again after each driver update.
-
Run
init:Terminal window docker compose run --rm init # or: podman compose run --rm initIt writes
compose.gpu.yamlnext tocompose.yaml, and says so:wrote compose.gpu.yaml: start Thermite with docker compose -f compose.yaml -f compose.gpu.yaml up -d. Itsrig:line says that it can’t check the toolkit from its container. -
Check the toolkit from the machine itself: in your
thermite-sourcefolder, runnpx thermite doctor. Its GPU container toolkit check saysok, and its Local rig check names the GPUs. If not, do what theFix:line says.Or, in place of steps 2 and 3, run
npx thermite local init .devinthermite-source: on the machine itself it checks the toolkit too, and writescompose.gpu.yamlnext tocompose.yamlonly when the engine can give containers the GPUs. -
Start Thermite with the file:
Terminal window docker compose -f compose.yaml -f compose.gpu.yaml up -d # or: podman compose -f compose.yaml -f compose.gpu.yaml up -dThe first start downloads the CUDA harness, which takes several gigabytes. Name
compose.gpu.yamlin every laterup, as Settings and override files says. A start without it puts the rig back on the CPU.
To tell that it worked, open the rig’s page: What it runs on shows the Judge and Dev runs GPUs. Then run its Isolation and Judge smoke checks (Check a rig): the isolation check passes and names the GPU layout.
compose.gpu.yamlgives the harness the CUDA image, the machine’s GPUs, and the settings that split them (THERMITE_TARGET,THERMITE_GPUSandTHERMITE_JUDGE_GPUS, orTHERMITE_GPU_INDEXfor one GPU: see Give a rig several GPUs). Docker gets every GPU through a device reservation for NVIDIA’s driver; Podman through the CDI devicenvidia.com/gpu=all, with SELinux labels off for the harness, as on rigs that control sets up.- The CUDA image is the release’s, unless
.envnames another inTHERMITE_RIG_HARNESS_CUDA_IMAGE. initwrites the file again each time it runs, from what the machine has then, for the engine that runs it. Put changes of your own in another override file. With both Docker and Podman installed,npx thermite local init .dev --engine podmannames the engine.- Only
local-1gets the GPUs.local-2, the second rig, runs on the CPU. - With rootless Podman, the harness container can’t change the GPU device files’ group. The harness’s log then says
could not set the gpu group on /dev/nvidia0(and the same for each NVIDIA device file), and on a machine with one GPU the isolation check saysdevices: shared (fence: landlock): the GPU fence, which uses the Linux kernel’s Landlock, keeps the other roles off the card on its own, as on RunPod (Isolation inside a rig). This is expected. A kernel without Landlock can’t fence the card: the rig then neither times on it nor gives it to development runs (Compatibility).
Give the virtual machine more, on a Mac
Section titled “Give the virtual machine more, on a Mac”On a Mac, the rig gets the CPUs and memory of Docker’s or Podman’s virtual machine, not all of the Mac’s. To give it more:
-
Podman: stop the virtual machine, set its CPUs and its memory in MB, then start it again:
Terminal window podman machine stoppodman machine set --cpus 8 --memory 16384podman machine start -
Docker Desktop: set the CPUs and memory in Docker Desktop’s Settings › Resources.
The Local rig check of npx thermite doctor gives the numbers for your Mac. Start Thermite again afterwards, with your up -d command.
Where your data lives
Section titled “Where your data lives”Compose keeps Thermite’s state in named volumes. Their names start with the project’s name, thermite, for example thermite_control-state.
| Volume | What it holds |
|---|---|
control-state | Control’s database, with Thermite’s knowledge base (a collection for each campaign), its signing key, its certificate authority for the message bus, and kits written on the New campaign page |
control-secrets | The key that seals every provider key and sign-in control stores, apart from the database. A backup doesn’t hold it: keep a copy |
control-pub | Control’s public key, which the harness reads, and its bus authority’s certificate, which the supervisor trusts the bus through |
harness-state | The rig’s ledger, its git copies, kits, imports, models and settings |
harness-scratch | Working copies. The harness empties it every time it starts |
outbox | Exports waiting for the supervisor |
supervisor-home | The supervisor’s own state |
results | The local results repository. To push to a real one, see Set up the results repository |
nats-data | The message bus’s store: every report a rig sent over it, the commands waiting for each rig, the newest live lines, for an hour at most, and each rig’s config, sealed to the rig (The compose file) |
nats-config | What control writes for the bus’s server: its users, each user’s public key and what it may do, and its TLS certificate and key |
The folder .dev/, next to compose.yaml, holds the tokens (.dev/secrets/), the inbox (.dev/inbox/) and the advisors’ files (.dev/advisors/). The init container makes it, and closes it to every other user of the computer each time it runs (mode 0700).
docker compose down removes the containers and keeps the volumes. docker compose down -v deletes the volumes too, and with them every campaign, result and provider key.
Use an owner’s token of your own
Section titled “Use an owner’s token of your own”The init container writes the owner’s token to .dev/secrets/control-admin-token, and control reads that file. That is fine on a computer only you use. For a lasting install, make the owner’s token yourself and give control only its SHA-256, so control holds nothing that signs in as you. You do this with an override file next to compose.yaml (see Settings and override files), so the release’s own file stays unchanged.
-
Make the token, with the command line:
Terminal window npx thermite token new --out ~/thermite-owner-tokenIt writes the token to the file and prints a line with
sha256and 64 hexadecimal characters: the hash. Keep the token somewhere safe, such as a password manager. -
Make a file named
compose.tokens.yamlnext tocompose.yaml, with your hash:compose.tokens.yaml services:control:environment:THERMITE_CONTROL_ADMIN_TOKEN_FILE: ""THERMITE_CONTROL_ADMIN_TOKEN_SHA256: "<the 64 characters>"The empty
_FILEline turns the token file off. Control refuses to start when both settings are set. -
Empty the old token file:
Terminal window : > .dev/secrets/control-admin-tokenLeave the empty file in place: compose still mounts it.
-
Start the stack with both files:
Terminal window docker compose -f compose.yaml -f compose.tokens.yaml up -d # or: podman compose -f … -f … up -dSign in with your new token. Every earlier dashboard session has ended.
From now on, name compose.tokens.yaml in every up command, as Settings and override files says. Without it, control finds the empty file and stops at every start (compose keeps restarting it), so the dashboard doesn’t answer. Its log (docker compose logs control) says control needs the owner's credential.
The stack also gives control an operator token, from .dev/secrets/control-operator-token, for an agent over MCP. To replace it with a hash or turn it off, use the same override file: see Make and change tokens.
Settings and override files
Section titled “Settings and override files”Put settings in a file named .env next to compose.yaml (git ignores it), then run docker compose up -d. .env reaches only the settings that compose.yaml passes on:
| Container | The settings .env reaches |
|---|---|
control | THERMITE_CONTROL_PUBLIC_URL, THERMITE_CONTROL_ALLOW_PLAIN_HTTP, THERMITE_RIG_HARNESS_IMAGE, THERMITE_RIG_HARNESS_CUDA_IMAGE, THERMITE_RIG_HARNESS_CUDA13_IMAGE, THERMITE_RIG_SUPERVISOR_IMAGE, THERMITE_RUNPOD_RIG_IMAGE, THERMITE_RUNPOD_TEST_IMAGE, THERMITE_CONTROL_REQUIRE_KEY_ACCEPT, THERMITE_CONTROL_SESSION_DAYS, THERMITE_CONTROL_STALE_SECONDS, THERMITE_CONTROL_OFFLINE_SECONDS, THERMITE_LIFECYCLE, THERMITE_NATS_PUBLIC_URL |
harness | THERMITE_PROMOTION, THERMITE_CALIBRATION_BLOCKS, THERMITE_MODEL_BASE_URL, THERMITE_MODEL, THERMITE_MODEL_CONTEXT_WINDOW, THERMITE_MODEL_MAX_TOKENS, THERMITE_MODEL_REASONING_EFFORT, THERMITE_MAX_TRIALS, THERMITE_TRIAL_MINUTES, THERMITE_MAX_TURNS, THERMITE_RESEARCH_MAX_MB, THERMITE_LLM_USD_PER_MTOK_IN, THERMITE_LLM_USD_PER_MTOK_OUT |
supervisor | THERMITE_POLL_SECONDS, THERMITE_MODEL_ROUTE_POLL_SECONDS, THERMITE_LIVE_INTERVAL_MS, THERMITE_RESULTS_REMOTE, THERMITE_ADVISORS_FILE |
| Compose itself | THERMITE_CONTROL_PORT, THERMITE_NATS_PUBLISH, THERMITE_NATS_MEMORY, THERMITE_NATS_STORE, THERMITE_COMMIT for the images’ builds, and THERMITE_ENGINE_SOCKET_HOST for compose.lifecycle.yaml |
The settings reference gives their defaults, and the few that the second rig of two-rigs leaves out.
Any other setting needs an override file: a second compose file next to compose.yaml that adds lines to a container. The guides make these:
| File | Made in | What it adds |
|---|---|---|
compose.gpu.yaml | Written by init on a machine with NVIDIA GPUs: Use the machine’s NVIDIA GPUs | The CUDA harness and the machine’s GPUs for the rig local-1 |
compose.tokens.yaml | Use an owner’s token of your own | Control’s token settings |
compose.claude.yaml | Use a Claude subscription | Claude Code in the harness and supervisor images. It builds them from the source code: the published images never carry Claude Code |
compose.model.yaml | Connect a model provider | Model settings that compose.yaml doesn’t pass, such as THERMITE_AGENT_HARNESS |
compose.harness.yaml | Extend the harness image | Your own harness image for the local rig |
compose.results.yaml | Set up the results repository | The results repository’s key files |
compose.lifecycle.yaml | In the repository, beside the source code’s own compose.yaml: see Give control a deployment driver | Rig restarts by control, for development |
For a setting that no guide covers, such as a reader’s token on control, write a file of your own the same way:
services: control: environment: THERMITE_CONTROL_READ_TOKEN_SHA256: <the token's sha256, 64 hexadecimal characters>Name every override file you use in every later up, each with -f, after -f compose.yaml. That includes the up after an update. Compose reads only the files it is given, so a start that leaves one out drops what that file adds. For example, with every file above but compose.lifecycle.yaml, which is for development only:
docker compose -f compose.yaml -f compose.gpu.yaml -f compose.tokens.yaml -f compose.claude.yaml \ -f compose.model.yaml -f compose.harness.yaml -f compose.results.yaml -f compose.local.yaml up -dName only the files you made. With Podman, write podman compose in place of docker compose.
The ports
Section titled “The ports”If port 8800 is taken on this computer, choose another:
THERMITE_CONTROL_PORT=8801The dashboard is then at http://127.0.0.1:8801/ui. Inside the stack, control keeps port 8800.
The message bus is published on 127.0.0.1:4222. If that port is taken, give another, with its address:
THERMITE_NATS_PUBLISH=127.0.0.1:4223Inside the stack, the bus keeps port 4222. Control and the stack’s rigs always use it: a rig talks to control only on the bus (Run the message bus).
Stop, start and update
Section titled “Stop, start and update”-
Stop:
docker compose down. Start:docker compose up -d, with your-foptions. -
Each container restarts by itself if it stops (
restart: unless-stopped). Thermite ships nothing that starts the stack again after the computer restarts (goal 061). Docker starts the containers again when its own service starts; on Linux,sudo systemctl enable dockerstarts that service at boot. With Podman, start the stack again yourself after a restart: on a Macpodman machine startfirst, then yourup -dcommand. -
Update to the newest release. Read its notes on the releases page first: 0.x releases make no promise that an update keeps everything working. Back up control first, and copy the backup off this machine (Back up and restore control):
Terminal window docker compose --profile backup run --rm backup thermite backup /backups # Dockerpodman compose --profile backup run --rm backup thermite backup /backups # PodmanThen, in your
thermitefolder:Terminal window curl -fsSLO https://github.com/iammrduncan/thermite/releases/latest/download/compose.yamldocker compose run --rm init # or: podman compose run --rm initdocker compose up -d # or: podman compose up -dCheck the new
compose.yamlbeforeinit, against the SHA-256 in the new release’s notes, as for the first start (Start it). Add your-foptions to the last line, as in the example above. An update that migrates control’s store keeps a copy of it from before, and so does the harness for its ledger; the backup also holds every rig’s events, and a restore puts it all back.curlreplacescompose.yamlwith the new release’s.initkeeps every token file that exists, the empty owner’s file too, and adds any file a newer version needs.updownloads the new images and replaces the containers whose images changed. The volumes stay. When the harness restarts, running trials and judge jobs start again. If you built the command line, take the same release there: inthermite-source,git fetch --tags, thengit checkoutthe new tag,npm ciandnpm run build.
After an update, run the rig’s Judge smoke check (Check a rig). This updates only the local stack. Rigs elsewhere keep the images they run. A rig of v0.1.0 reports over HTTP, which this version no longer takes: it shows Broken until it runs this version (A rig from before the bus):
- a rig that control set up, on a machine or a cluster, moves onto new images from its page, with Update to control’s version. Control deploys the new release’s images once it runs from the new
compose.yaml, unless.envnames other images (Move a rig onto new images); - a rig you joined yourself can’t be moved from control yet (goal 035): make a new join command on its page, and run it again where the rig is;
- a rig on RunPod keeps its image: control can’t move a pod onto another one. Terminate it and launch a new rig, which runs the new release’s rig image (Run a rig on RunPod).
Let rigs on other machines reach control
Section titled “Let rigs on other machines reach control”A rig on another machine or a cluster reaches control by connecting to it and to its message bus. That takes a name for control that the rigs reach over HTTPS, a reverse proxy on this computer, the message bus’s port open to the rigs, and rig images that the rigs can pull without signing in. The release’s published images are such images, and its compose file gives them to control already. Rigs › Add a rig (Rigs is in the sidebar on the left) needs the first, second and fourth below, and shows what is missing:
-
An HTTPS address the rigs can reach. Compose publishes control on
127.0.0.1only, so nothing outside this computer reaches it. Put a reverse proxy on this computer in front of127.0.0.1:8800(or the port you chose) that serves HTTPS under a name the rigs can reach, such ascontrol.example.com. Thermite doesn’t include a proxy or its configuration: use one you know. Have the proxy:- send
X-Forwarded-Proto: https, so control marks the dashboard’s sign-in cookie as secure; - accept request bodies of up to 90 MB: rigs send champions’ patches, the New campaign page kit archives and
thermite kit addkit bundles of up to 64 MB, and the New campaign page sends the files of a kit it describes as text, of up to 86 MiB.
Nothing streams: the live view asks control every two seconds, and MCP answers in plain JSON.
- send
-
That address, in control’s settings. In
.env:.env (part) THERMITE_CONTROL_PUBLIC_URL=https://control.example.comControl takes an
http://address only for this computer or a compose service’s name, and otherwise stops at start and says why. On a network you trust, such as a home network,THERMITE_CONTROL_ALLOW_PLAIN_HTTP=1in.envlets it take one: the rigs then send their tokens over plain HTTP. -
The images control sets rigs up from, in a registry the rigs can pull from. The release’s
compose.yamlsets them to the release’s own images onghcr.io, pinned by digest: the CPU harness, the CUDA harness and the supervisor. So with the release’s file there is nothing to do. To use images of your own instead (Push the images to your own registry), name them in.env:.env (part) THERMITE_RIG_HARNESS_IMAGE=registry.example.com/thermite/thermite-harness:1a2b3c4d5e6fTHERMITE_RIG_HARNESS_CUDA_IMAGE=registry.example.com/thermite/thermite-harness:1a2b3c4d5e6f-cudaTHERMITE_RIG_SUPERVISOR_IMAGE=registry.example.com/thermite/thermite-supervisor:1a2b3c4d5e6fThe CUDA image is needed only for GPU rigs.
-
The message bus’s port, open to the rigs. Each rig control sets up talks to control only over the bus, on its own port, 4222, over TLS, with no proxy; a rig that can’t reach it doesn’t work: publish the port on this computer’s addresses and let the rigs reach it, as Let rigs on other machines reach it says. In
.env:.env (part) THERMITE_NATS_PUBLISH=0.0.0.0:4222Control gives the rigs the bus’s address, the host of
THERMITE_CONTROL_PUBLIC_URLwith port 4222, and the certificate of its own authority for the bus. If the rigs reach the bus at another name or port, setTHERMITE_NATS_PUBLIC_URLtoo.
Run docker compose up -d, with your -f options, to restart control with them.
To tell that it worked:
- From another machine,
curl https://control.example.com/v1/healthanswers{"ok":true,"bus":"connected","degraded":false}, andnc -zv control.example.com 4222connects to the bus’s port. - Rigs › Add a rig no longer says “Control has no rig images configured” or “Control’s address for rigs is not set”, its Images field lists the images, and its Message bus field gives the bus’s address the rigs will reach, such as
nats://control.example.com:4222.
Next: Add a rig on a machine over SSH, on a Kubernetes cluster, or join one yourself.