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 waydist pull does — an OCI repository and a tag — and the server pulls it:
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 pushwrote. 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 andlatest, and reports the same version
vitruvio --version does. Pin the number in a deployment; latest is for trying it.