BetterFrame/deploy/nodered/settings.js
Mitchell R 96d7cc45ba
fix(deploy): require proxied local services
Bind native backend services and Node-RED to loopback so Angie remains the public auth boundary. Keep Docker on an internal compose network and stop kiosk fallback to a layout when display default is none.
2026-05-11 09:51:00 +02:00

11 lines
265 B
JavaScript

const settings = {
uiHost: "127.0.0.1",
uiPort: Number(process.env.PORT || 1880),
functionGlobalContext: {},
};
if (process.env.NODE_RED_CREDENTIAL_SECRET) {
settings.credentialSecret = process.env.NODE_RED_CREDENTIAL_SECRET;
}
module.exports = settings;