Display Builder Web Runtime (DBWR)

List of NixOS option for deploying the Display Builder Web Runtime (DBWR), that enables viewing Phoebus .bob files from the web.

See also

The Display Builder Web Runtime (DBWR) user guide for how to use these options.

services.dbwr
services.dbwr.enable boolean[source]

Whether to enable DBWR, the display builder web runtime.

Default value
false
Example
true
services.dbwr.openFirewall boolean[source]

Open the firewall for the DBWR service.

Warning

This opens the firewall on all network interfaces.

Default value
false
services.dbwr.package package[source]

The DBWR package to use.

Default value
pkgs.epnix.dbwr
services.dbwr.pvwsPackage package[source]

The PVWS package to use.

Default value
pkgs.epnix.pvws
services.dbwr.settings attribute set of (string or absolute path)[source]

Configuration for DBWR.

These options will be passed as environment variables.

Default value
{ }
services.dbwr.settings.EPICS_CA_ADDR_LIST list of string[source]

List of Channel Access destination IP addresses.

Each IP address can be a unicast address, or a broadcast address.

Use lib.mkForce to override values from environment.epics.ca_addr_list.

Default value
if config.environment.epics.enable
then config.environment.epics.ca_addr_list
else [];
services.dbwr.settings.EPICS_CA_AUTO_ADDR_LIST boolean[source]

If set, behave as if every broadcast address of every network interface is added to EPICS_CA_ADDR_LIST.

Use lib.mkForce to override values from environment.epics.ca_auto_addr_list.

Default value
if config.environment.epics.enable
then config.environment.epics.ca_auto_addr_list
else [];
services.dbwr.settings.PV_DEFAULT_TYPE string[source]

Default PV type.

Default value
"ca"
Example
"pva"
services.dbwr.settings.PV_WRITE_SUPPORT boolean[source]

Whether to enable PV write support.

Default value
false
Example
true
services.dbwr.websocketBufferSize signed integer[source]

Maximum size of websocket buffers, in bytes.

This value can be increased in the case the maximum message size is hit when subscribing to a large number of PVs.

Default value
8192
Example
131072