localhost:8080, allowed to read brains from ghcr.io. There is nothing to install: the
image is published with every release, for linux/amd64 and linux/arm64.
1
Start it
The command above. Docker pulls
ghcr.io/getsfumato/vitruvio-server:latest the first time. Add
-e VITRUVIO_REGISTRY_USERNAME=… -e VITRUVIO_REGISTRY_TOKEN=… when the brain is private.2
Check it
{"status":"ok"}. /health/live answers the same, and /docs is the interactive OpenAPI page.3
Ask it something
vitruvio search --json prints, with the evidence bundle under data.evidence.
The query API has the rest.Everything, with Compose
Ingestion needs three more pieces: the ingest API, a worker, and the Redis they share. One file brings up all four. It is committed asapps/server/compose.yaml; copy it
anywhere.
.env beside it:
One image, three roles
The image’s entrypoint is thevitruvio-server command and its default argument is query:
--init for the worker: it installs no signal handler and runs as PID 1, so without an init process docker stop
waits out the grace period. Compose sets init: true for the same reason. A worker killed mid-job loses nothing —
its job is reclaimed through a lease — it is only slow to stop.
Anything that is not a role goes through the command’s argument parser, so to run something else inside the image
pass --entrypoint:
Configuration
Everything is read from the environment.query and ingest also take --host and --port.
Do not set the CLI’s selection variables —
VITRUVIO_ACTOR_ID, VITRUVIO_BRAIN, VITRUVIO_CONFIG,
VITRUVIO_PROJECT — in the server’s environment. The request supplies the brain and the actor; an override is
refused (ACTOR_OVERRIDE_REFUSED) and every request fails.
Credentials
The server presents credentials on the caller’s behalf, which is why the destinations are bound to a list the operator wrote rather than to the request:- Registry:
VITRUVIO_REGISTRY_USERNAMEandVITRUVIO_REGISTRY_TOKEN, orDOCKER_USERNAMEandDOCKER_TOKEN. Docker Hub wants a personal access token, as publishing explains. The token goes only to hosts inVITRUVIO_SERVER_ALLOWED_REGISTRIES. - Embedding providers: the provider’s own variable —
OPENAI_API_KEY,VOYAGE_API_KEY,COHERE_API_KEY,ANTHROPIC_API_KEY,HF_TOKEN— or itsVITRUVIO_-prefixed form. A request may name abase_urlonly when it is inVITRUVIO_SERVER_ALLOWED_EMBEDDING_URLS. - S3 documents: the standard AWS variables, plus
VITRUVIO_SERVER_S3_ENDPOINTfor a compatible store. - Signing, for governed brains: the worker needs an SSH agent. Mount the socket and point
SSH_AUTH_SOCKat it. On Linux:-v "$SSH_AUTH_SOCK:/ssh-agent" -e SSH_AUTH_SOCK=/ssh-agent. On macOS Docker Desktop the host socket cannot be mounted; use-v /run/host-services/ssh-auth.sock:/ssh-agentinstead.
Pin, upgrade, build
Pin the version on anything that is not a laptop:uv.lock, so it builds exactly what the tree says. Compose uses a locally built
latest rather than pulling one.
Without Docker
From a checkout, the same command runs directly:--host 0.0.0.0 or set VITRUVIO_SERVER_HOST to expose it.