Skip to main content
Installation

Requirements and network

Gateway host sizing and software, the machine identifier, requirements for inference servers and GPU nodes, deployment layouts, and the inbound and outbound ports to open.

RST AI Fabric ships as a Docker Compose deployment with two containers: the gateway rst-ai-fabric and the database postgres. Configuration, request logs, usage and audit records live in the PostgreSQL data volume. The package also contains the GPU node agent and the upgrade helper; both are optional.

Gateway host

ItemRequirement
Operating systemLinux on x86_64 or ARM64, such as Kylin, UOS, CentOS or Ubuntu
SizingAt least 2 cores, 4 GB of memory and 50 GB of disk. Request logs are kept 90 days by default; add disk for high log volumes or longer retention
SoftwareDocker 20.10 or later with the docker compose plugin (docker compose version prints a version)
Machine identifierA non-empty /etc/machine-id. The licence is bound to it, and the gateway container mounts it read-only. If it is missing, run systemd-machine-id-setup
GPUNot needed. The gateway can share a server with an inference server
PermissionsAn account that can run docker. Installing the upgrade helper needs root and systemd
BrowserA recent version of a current browser such as Chrome, Edge or Firefox

Inference servers

TypeNotes
vLLMRecommended. Every 3 seconds the gateway reads vLLM's /metrics (running requests, waiting requests, KV cache usage) to choose an upstream
SGLang, Ollama and other OpenAI-compatible serversAdded as the OpenAI-compatible type, with a URL ending in /v1
Cloud modelsAzure OpenAI, Anthropic, Google Gemini, and OpenAI-compatible APIs such as DeepSeek, Qwen and Zhipu GLM. The gateway must be able to reach the vendor's endpoint

The gateway must reach the inference server's port; the inference server never connects to the gateway.

GPU nodes

The agent is optional. It shows GPU status in the console and enables remote vLLM deployment.

ItemRequirement
SystemLinux (amd64 or arm64) with systemd
DriverNVIDIA driver with a working nvidia-smi
Remote vLLM deployment (optional)Docker and the NVIDIA Container Toolkit; the agent's user must be able to run docker
NetworkThe agent must reach the gateway URL. GPU nodes need no internet access; agent updates are downloaded from the gateway

Deployment layouts

  • Single host: gateway, vLLM and agent on one GPU server, for a single AI workstation.
  • Separate hosts: the gateway on an ordinary server, several GPU servers each running vLLM and the agent, with the gateway balancing between them. See Multiple nodes.

Ports

Inbound (to the gateway host):

PortFromPurpose
8080/TCPAPI callers, console users, GPU node agentsThe /v1 API, the management console and agent heartbeats. Change it with RST_FABRIC_PORT in .env
443/TCPAs aboveWhen an HTTPS reverse proxy is in place, the proxy listens here; see Installation

Outbound (from the gateway host):

DestinationPortPurposeRequired
Inference serversService port, for example 8000Inference requests and vLLM load metricsYes
Cloud model endpoints443InferenceWhen cloud models are added
license.reallysec.com443Online licence activation, then one contact a dayFor online activation. Not for offline activation
updates.reallysec.com443New-version notices and online upgradesOptional. Set RST_FABRIC_UPDATE_URL= (empty) in .env to stop all requests
Feishu, DingTalk and WeCom bots, SMTP server, webhook receivers443 or service portAlertsOptional
OIDC identity provider, LDAP server, Feishu Open Platform443, 636, 389Sign-in integrationsOptional

The gateway honours the HTTPS_PROXY and NO_PROXY environment variables for outbound access. It contacts no sites other than those above, and never GitHub.

Fully offline

In an air-gapped network, install from the offline package, activate the licence offline, set RST_FABRIC_UPDATE_URL= in .env to turn off update checks, and upgrade by uploading offline packages. With local models only, the gateway needs no internet access at all.

On this page