Skip to main content
Vitruvio Server is the same runtime the CLI drives, behind HTTP. It answers what an agent, a service or a pipeline would otherwise shell out for — search this brain, ingest these documents into that one — without a vitruvio installed on the caller, and without a brain installed on the server.

Three roles, one image

docker run IMAGE is query; docker run IMAGE ingest and docker run IMAGE worker are the other two. Run as many of each as you like: nothing on one instance has to be shared with another.

The server holds no brain

Every request names a brain the way dist pull does — an OCI repository and a tag — and the server pulls it:
The query role keeps a small, disposable cache of installed layouts, keyed by the manifest digest the tag resolved to, so a moved tag is noticed and a stale entry is never served under the new name. The worker installs into scratch space, runs the job there, and publishes the result as ingest-<job_id> on the same repository. The input tag is never moved. That is what makes it stateless. There is nothing to back up except Redis, which holds the ingest queue and seven days of job results, and an instance that dies mid-job loses nothing another one cannot pick up.

What it needs

  • A registry with a published brain. The server reads what vitruvio dist push wrote. See publishing and installing.
  • Credentials in the environment, the same variables the CLI reads, and an explicit list of the registries the server may present them to. Unset, every remote registry is refused.
  • Redis, for the ingest role and its worker. The query role does not use it.
  • A private network. The server has no HTTP authentication of its own. Put it behind a gateway that has, or keep it off the public internet.

Versions

The image is cut with every release, under the release’s number and latest, and reports the same version vitruvio --version does. Pin the number in a deployment; latest is for trying it.

Next

Run it with Docker, then query a brain or ingest into one.