A closed network is an installation whose server reaches nothing on the internet: not CoRoid's release address, not a public model provider. It reaches only what your network gives it, such as your git host, your own registry and your own model endpoint.
Closed networks are not yet proved from this guide alone: proof run P2 installs one from scratch and completes this chapter. Until then, install a closed network with CoNeuroid AB's help. The steps below are what differs from a connected installation; everything else in the guide applies.
What differs
| What | Connected | Closed |
|---|---|---|
| CoRoid's images | Pulled from the release address, with the license | Pulled from your own registry, which you fill |
| New releases | The updater takes them in the window | A person copies the release in and runs upgrade.sh |
| A renewed license | The updater takes it by itself | A file from CoNeuroid AB, applied on Settings → License |
| The monthly capacity report | Sent to CoNeuroid AB by the installation | Downloaded on Settings → License and sent as a file |
| Models | A provider with your key, or your own endpoint | Your own endpoint, or a provider your network lets it reach |
| The upgrade window | Chosen on Reliability → Upgrades | None: you choose when to run an upgrade |
The installation file
Set installation.closed to true. The installer then installs no updater
timer, and nothing in the installation dials out except to the addresses
the installation file allows.
Install
Fetch the release on a machine that reaches the internet, as Install shows, and carry its files in. Then copy every image the release's manifest lists into your registry. List them with:
jq -r '.images[] | "\(.origin) \(.repository)@\(.digest)"' manifest.jsonThe installer pulls CoRoid's own images (coroid) from the registry you
name, under the same path: ghcr.io/coroid-ai/coroid-unified@sha256:…
becomes <your registry>/coroid-ai/coroid-unified@sha256:…. Give the
registry to the installer:
sudo bash release/one-server/install.sh \
--release release \
--installation installation.json \
--license license.json \
--passphrase-file /root/coroid/backup-passphrase \
--image-registry registry.example.internalThe server signs in to your registry with Docker's own sign-in, which is
yours to set up. The other images (third-party) are pulled by their own
names, so the server must reach them through your registry's mirror; how
depends on your registry, and CoNeuroid AB helps with it until proof run P2.
Upgrades
Fetch each new release outside, as for the install, carry it in, copy its
images into your registry, and run its own upgrade.sh:
sudo bash <release>/one-server/upgrade.sh --release <release> \
--passphrase-file /opt/coroid/installation/backup-passphraseIt checks the release's signature, takes a backup, upgrades, and rolls back if the new release does not come up healthy, as the updater's upgrades do. Reliability → Upgrades lists each one and its result.
The license
A renewed license is a file from CoNeuroid AB: apply it on Settings →
License. Give upgrade.sh the same file with --license <file> when you
upgrade at the same time, so the server keeps it.
The capacity report
Each month the installation makes its capacity report, counts only: the most agents at work at one time, the agent hours, and how many organizations and people used it. On Settings → License → Capacity reports, download the month's file and send it to CoNeuroid AB. It is the basis of the invoice. CoNeuroid AB uploads it to your installation's record.
Before you go on
installation.closedistrue, and the server reaches nothing outside your network.- Every image of the release is in your registry, and the install pulled from it.
- You know who carries releases and renewed licenses in, and who sends the capacity report each month.
Back to the Operator guide.