Skip to content

Server settings

The server reads its settings from config.json in the app data folder (%LOCALAPPDATA%\LabOrchestra, ~/Library/Application Support/LabOrchestra, ~/.local/share/LabOrchestra). LabOrchestra Server writes it from its Settings window; most people never edit it. It is a flat JSON object with "version": 1. Each setting can also be given as an environment variable (LABORCHESTRA_ and the name in capitals: LABORCHESTRA_RECORDINGS_DIR) or on the command line (--recordings_dir <folder>); the command line wins over the environment, the environment over the file. Relative folders in the file count from the file’s folder.

Setting Default Meaning
workspace Documents/LabOrchestra The workspace folder: devices.json, views, devices, procedures, widgets, plugins and templates. Chosen at the first start.
recordings_dir ~/LabOrchestra-Recordings Where recordings and snapshots go. May contain placeholders ({year}, {month}, {day}, {date}, {time}, {device.field}); changed in the dashboard (Devices page, Recordings), unless it is given on the command line or in the environment, which fixes it.
recording_numbering true Puts a running number in front of every recording’s name (41 alignment).
data_dir the app data folder Where the server keeps its own data: logs, Python environments, the event history, settings of devices, tokens and secrets. Not meant to be shared or synchronized.
Setting Default Meaning
urls http://127.0.0.1:5095 The address of the server on this computer (; between several). Changed in the tray app’s Settings, Network, Advanced: ports.
network false Lets other computers of the network connect, over HTTPS with a certificate the server makes. See Next steps.
network_names the computer’s name Names or IP addresses under which other computers reach this one, separated by commas; the certificate is made for them. The first one is shown to others.
network_port 5443 The HTTPS port for other computers. Must differ from the port in urls.
passphrase generated The passphrase for browsers and scripts. Without it, the server generates one and keeps it in <data_dir>/passphrase. With network access, it must be at least 12 characters long.
allowed_origins none Other web origins (comma-separated) whose pages may connect to the server, e.g. a page of your own that shows lab values. Requests from any other origin are refused.
Setting Default Meaning
python found by uv The Python for devices and procedures that do not name one: a version (3.12) or the path of an interpreter. It is only the base of their environments and is never changed.
uv the bundled one The uv program that makes the Python environments.
uv_python_downloads unset: only on request Python is downloaded only when you ask for it in the dashboard (Devices page, Python environments), never by itself. never forbids that, too, for servers that must not download anything. Other values (automatic, manual) are handed to uv as they are.
Setting Default Meaning
update_check true LabOrchestra Server asks laborchestra.com once a day whether there is a new version. Nothing about the lab is sent, and nothing is installed by itself.
update_channel stable preview also offers test versions.
update_url laborchestra.com Where to look for new versions. Only for testing: a released app believes only version files signed with its own keys.
Setting Default Meaning
abort_grace_s 30 Seconds an aborted procedure has to clean up (its finally blocks) before it is killed.
history_interval_s 10 The history of numeric state fields (traces, lab.history) keeps at most one value per field in this many seconds.
recording_float_interval_s 1 A number that changes continuously (a position, a pressure) is written to a recording’s events.json at most once in this many seconds per field: the first change at once, then the latest value when the time is over. Whole numbers, booleans and text are always written at once. 0 writes every change.
Setting Default Meaning
plugin_dirs none More folders with C# plugins, ;-separated, relative to the workspace (for example the build output of a plugin you develop). Watched like the workspace’s plugins/.
plugin_reload false Replaces a C# plugin while the server runs when it is built again (its devices stop and start). Off by default; for developing plugins.
esbuild the bundled one The esbuild program that builds widgets of the workspace.
editor VS Code, else the system’s The program that Open in editor starts (on the server’s own computer only). VS Code (and code, codium, cursor) opens the whole workspace folder with the file selected; any other program gets the file.
workspace_files true The server keeps .vscode/launch.json (a debug configuration per Python device) and the guides for AI assistants (.claude/skills/, and AGENTS.md / CLAUDE.md when they are missing) in the workspace up to date by itself. Set to false to write nothing there.