Spanish Total.js
English
Documentation For AI agents
Contents

Configuration file

The keys of the config file of BPM.

.md Website
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.

KeyExampleWhat it does
databasepostgresql://user:password@localhost:5432/bpm?pooling=1The connection string of the PostgreSQL database. Required.
$corshttps://uibuilder.totaljs.comThe 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.
urlhttps://bpm.example.comThe 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_webhookstrueFor 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.
$mcptrueTurns 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 --release

See Install and Run in production.

Made in Europe