Configuration file
The keys of the config file of BPM.
On this page
The file config in the folder of the app holds the settings that BPM needs before it can read its database. Each line is key : value. Restart BPM after a change.
| Key | Example | What it does |
|---|---|---|
database | postgresql://user:password@localhost:5432/bpm?pooling=1 | The connection string of the PostgreSQL database. Required. |
$cors | https://uibuilder.totaljs.com | The site that may call BPM from the browser. It lets the hosted form editor load the lists of your UI components. If you change Link to UI editor in Settings, put the same address here. |
$api | /admin/ | The address of the API of the screens. Do not change it. |
url | https://bpm.example.com | The address where people open BPM. Links in e-mails, notifications and webhooks use it, and it wins over Address of BPM in Settings. Optional. |
allow_local_webhooks | true | For tests only: lets webhooks call addresses of this computer and of the local network, and accepts their self-signed certificates. Default off. Never use it in production. It works only in this file. |
$mcp | true | Turns on the MCP server at /$mcp/, so that people can use BPM from their AI. With false, the server and MCP access tokens do not work. |
Everything else, such as the name of the app and the editor addresses, is changed in Settings and stored in the database.
Port and mode
The port and the mode are given on the command line, not in config:
node index.js 8000 --releaseSee Install and Run in production.