Skip to main content

Configuration Reference

Most configuration is done from the web UI and persisted to a single JSON file. This page is the reference for what's stored and the environment variables that influence startup.

The config file

config.json lives in the data directory (default /var/lib/omnibus, ./data/ in dev). It is auto-created and holds:

KeyContents
admin.users[]{id, username, passwordHash, role, createdAt} per user.
mqttBroker URL, credentials, base topic, Sparkplug settings.
tcp.basePortStarting TCP port for new serial ports (default 9000).
ports[<path>]Per-port adapter, mode, serial settings, outputs, assigned TCP port, and MQTT prefix.
onboardingFirst-run wizard state ({completed, completedAt, steps}).
usbReset.preserveTop-level keys to keep across a USB factory reset.
buttonArgon-button gesture settings (if enabled).

The data directory also holds audit.log and the TLS material (ca-cert.pem, ca-key.pem, cert.pem, key.pem, cert-sans.txt).

:::tip Don't hand-edit on a running box Prefer the UI or the API. If you must edit config.json directly, stop the service first, keep ownership omnibus:omnibus, and restart. :::

Environment variables

Set these in the systemd unit (or a systemctl edit omnibus drop-in).

Runtime

VariableDefaultPurpose
PORT80 (48879 in dev)HTTP port.
HTTPS_PORT443HTTPS port.
OMNIBUS_DATA_DIR/var/lib/omnibusWhere config/audit/TLS live.
NODE_ENVproduction (prod)Serves the built client vs. Vite dev middleware.
OMNIBUS_TLS_CERT / OMNIBUS_TLS_KEYPEM paths to override the internal leaf with a public cert.
OMNIBUS_MDNS_DISABLESet to 1 to disable mDNS advertising.

Branding / white-label

VariableDefaultPurpose
OMNIBUS_PRODUCT_NAMEOmniBusProduct display name.
OMNIBUS_VENDORHarness AutomationVendor name.
OMNIBUS_SUPPORT_EMAILsupport@harnessautomation.comSupport contact.
OMNIBUS_PRODUCT_URL(empty)Vendor product page.

Installer (environment)

VariableDefaultPurpose
INSTALL_DIR/opt/omnibusDeploy target.
OMNIBUS_DATA_DIR/var/lib/omnibusPersistent data dir.

Default ports

PortService
80 / 443Web UI + REST API + WebSocket (HTTP/HTTPS).
48879 (0xBEEF)Dev server (npm run dev).
9000+Per-serial-port TCP servers (from tcp.basePort).
47808BACnet/IP (gateway mode, configurable).
20000DNP3 over TCP.
502Modbus/TCP (when connecting out as a TCP client).
5353/udpmDNS.