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
| Item | Requirement |
|---|---|
| Operating system | Linux on x86_64 or ARM64, such as Kylin, UOS, CentOS or Ubuntu |
| Sizing | At 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 |
| Software | Docker 20.10 or later with the docker compose plugin (docker compose version prints a version) |
| Machine identifier | A 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 |
| GPU | Not needed. The gateway can share a server with an inference server |
| Permissions | An account that can run docker. Installing the upgrade helper needs root and systemd |
| Browser | A recent version of a current browser such as Chrome, Edge or Firefox |
Inference servers
| Type | Notes |
|---|---|
| vLLM | Recommended. 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 servers | Added as the OpenAI-compatible type, with a URL ending in /v1 |
| Cloud models | Azure 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.
| Item | Requirement |
|---|---|
| System | Linux (amd64 or arm64) with systemd |
| Driver | NVIDIA 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 |
| Network | The 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):
| Port | From | Purpose |
|---|---|---|
| 8080/TCP | API callers, console users, GPU node agents | The /v1 API, the management console and agent heartbeats. Change it with RST_FABRIC_PORT in .env |
| 443/TCP | As above | When an HTTPS reverse proxy is in place, the proxy listens here; see Installation |
Outbound (from the gateway host):
| Destination | Port | Purpose | Required |
|---|---|---|---|
| Inference servers | Service port, for example 8000 | Inference requests and vLLM load metrics | Yes |
| Cloud model endpoints | 443 | Inference | When cloud models are added |
license.reallysec.com | 443 | Online licence activation, then one contact a day | For online activation. Not for offline activation |
updates.reallysec.com | 443 | New-version notices and online upgrades | Optional. Set RST_FABRIC_UPDATE_URL= (empty) in .env to stop all requests |
| Feishu, DingTalk and WeCom bots, SMTP server, webhook receivers | 443 or service port | Alerts | Optional |
| OIDC identity provider, LDAP server, Feishu Open Platform | 443, 636, 389 | Sign-in integrations | Optional |
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.
Quick start
Install the gateway on one Linux server, activate the licence, add a vLLM model, create an API key and make the first call.
Installation and HTTPS
What the offline package contains, what install.sh does, the initial administrator password and first sign-in, installing the upgrade helper, and an Nginx reverse proxy in front of the gateway for HTTPS.