Skip to main content
bLIS Gateway uses a single YAML configuration file. By default, the install script places this file at /etc/blis-gateway/gateway.yaml. When running with Docker, mount it to /etc/blis-gateway/config.yaml. You can generate a default configuration file with:

Minimal example

A working configuration requires three sections — input, lis, and instruments:

Configuration reference

input

Controls how the gateway receives data from instruments. When type is mqtt, provide the mqtt section:

lis

Defines the connection to your bLIS server.

instruments

A list of instrument definitions. Each entry configures one instrument connection.

TCP input (when input.type is tcp)

MQTT input (when input.type is mqtt)

logging

Controls log output, file rotation, and message persistence.

logging.persistence

Optional SQLite-based message storage for auditing and troubleshooting.

web

Controls the built-in web management dashboard. When enabled, open http://<gateway-host>:8080 in a browser to access the dashboard. The dashboard provides:
  • Real-time connection status for each instrument
  • Live log streaming
  • Message history and search
  • Trace viewer for end-to-end message tracking
  • Current gateway configuration

service

Optional metadata about the gateway instance.

Full example

Validate your configuration

Run the validate command to check for errors before starting the gateway:
The validator checks for:
  • YAML syntax errors
  • Missing required fields
  • Invalid values (e.g., port numbers out of range)
  • Duplicate instrument names or ports
  • Mismatched input types (e.g., TCP instruments with MQTT input)