Installation

Installing FabConnect on premise, with containers or systemd.

Requirements

  • Containers (recommended): Docker 20.10+ or Podman 4+ with compose; 4 GB RAM, 20 GB disk
  • systemd binaries (linux-amd64): PostgreSQL 18 with the pgcrypto extension, Redis 7; 2 GB RAM
  • Either way: a route to the tools’ network for HSMS, or for SECS-I either access to the tools’ serial ports (the service user needs the dialout group) or a route to their serial device servers (raw TCP or RFC 2217)

Option 1: Containers

See the Quick Start. The package’s docker-compose-airgap.yaml runs all five services.

Option 2: systemd

bash
sudo ./scripts/install.sh          # the engine, the gateway and both units
sudo nano /etc/fabconnect/.env     # secrets, as for containers
sudo systemctl enable --now fabconnect-protocol
sudo systemctl enable --now fabconnect-gateway
sudo ./scripts/verify-install.sh

The Windows installer (install.ps1) installs the gateway only. Run the protocol engine on Linux, or use containers.

Upgrades

On a systemd install, scripts/upgrade.sh replaces the gateway binary, polls the health check, and rolls back and exits non-zero if the new gateway does not come up healthy. Container installs upgrade by loading the new images from the package.

Configuration

The gateway reads config.yaml and FABCONNECT_* environment variables (for example FABCONNECT_SERVER_PORT). Secrets can be given as files, which is how Docker and Kubernetes secret mounts are meant to be used:

VariableHolds
FABCONNECT_DATABASE_PASSWORD_FILEPostgreSQL password
FABCONNECT_AUTH_JWT_SECRET_FILEJWT signing secret
FABCONNECT_ENCRYPTION_KEY_FILEAES-256 key for secrets and the buffer
FABCONNECT_REDIS_PASSWORD_FILERedis password

In release mode the gateway refuses to start without a database password or a JWT secret (OIDC does not replace it), with a JWT secret under 32 bytes or still CHANGE_ME, or with a literal ${...} in a secret: it does not expand those in config.yaml. It never falls back to a default.

Something missing or wrong on this page? Tell us.