mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 22:26:33 +00:00
Node-RED only scans userDir/node_modules by default. Setting nodesDir explicitly tells it to also scan our baked-in path, which survives the /data volume mount.
9 lines
289 B
JavaScript
9 lines
289 B
JavaScript
module.exports = {
|
|
uiHost: "0.0.0.0",
|
|
uiPort: Number(process.env.PORT || 1880),
|
|
httpAdminRoot: "/nrdp",
|
|
httpNodeRoot: "/",
|
|
functionGlobalContext: {},
|
|
// Extra search paths for custom nodes. BF nodes baked into image at this path.
|
|
nodesDir: ["/usr/src/betterframe-nodes"],
|
|
};
|