mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 16:56:33 +00:00
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.
11 lines
265 B
JavaScript
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;
|