Self-hosting is by agreement. The container images (ghcr.io/trustivan/*) and the source repository are private: they are provided to customers who run TRUSTIVAN on their own infrastructure. To evaluate TRUSTIVAN, use the hosted service from the quickstart, or contact us about self-hosting.
TRUSTIVAN is a Go backend with two dependencies: PostgreSQL and Redis. Everything else in the deployment is a choice about how many processes you run.

The dependencies

The division is deliberate and worth understanding before you plan capacity. PostgreSQL holds the job; Redis carries a wakeup. A queue whose only record of a job is in a cache is not durable, whatever the cache is configured to persist, so job state was never put there. Losing Redis entirely costs latency (the dispatcher finds every queued scan in PostgreSQL and republishes them) and never costs work. That also sets the backup boundary: PostgreSQL is the thing to back up. Redis and the scanner cache can both be discarded and rebuilt.

Running with Docker

The supported installation path is Docker Compose. You need:
  • Docker Engine with Compose v2
  • Roughly 2 GB of free disk for the vulnerability database and image blob cache
  • Outbound HTTPS to the registries you intend to scan, and to ghcr.io/mirror.gcr.io for the vulnerability database
See Docker Compose for the stack itself.

Building from source

Two constraints, neither of them chosen, come from the vendored scanning engine: Without the experiment the build fails with an error naming encoding/json/v2 in the Go standard library and saying nothing about the cause. From source covers how the Makefile, the Dockerfile and the preflight check each set it so you do not have to remember.

Network access the scanner needs

Images are resolved from remote registries only. The worker does not use a Docker socket, a container runtime, or any access to a local image store, so there is nothing to mount and no daemon to install. This is a security property rather than a simplification. Mounting a runtime socket into the process that handles untrusted input would be root on the host, and consulting a local image store would let a caller-supplied reference resolve to another tenant’s image. Two consequences for your network plan:
  • Registries must be reachable from the worker over the public internet by default. Registries on loopback or private addresses are refused unless you deliberately change that, and link-local addresses are refused always. See Scanning. Registry and git connections made for a scan do not use HTTP_PROXY or HTTPS_PROXY.
  • Registries requiring authentication need a stored credential, which is a Pro and Enterprise capability. The two settings are independent: an internal registry that is both privately addressed and password-protected needs the network permission above and a credential.

Resource shape

Requests are milliseconds; scans are minutes. Size the two independently. Worker concurrency is bounded on purpose: the scanning engine shares an on-disk cache, so raising it without limit produces lock contention rather than throughput. Scaling covers when to add a replica instead.

Ports

8080 is canonical: it is what the Dockerfile exposes, what the compose file publishes, and what every OAuth redirect URI assumes. Changing it means reconfiguring every OAuth application registered against those URIs, which is why the one value with an external dependency won.