Skip to content

Instantly share code, notes, and snippets.

@ethanjli
Last active April 7, 2023 00:42
Show Gist options
  • Save ethanjli/47bdf0ad1b5356ddd1af35fc87e3750c to your computer and use it in GitHub Desktop.
Save ethanjli/47bdf0ad1b5356ddd1af35fc87e3750c to your computer and use it in GitHub Desktop.
Demo settings file for a second Node-RED instance deployed as a sandbox
module.exports = {
flowFile: 'flows.json',
flowFilePretty: true,
uiPort: process.env.PORT || 1880,
uiHost: "::",
httpAdminRoot: '/demo/nodered-sandbox',
logging: {
console: {
level: "info",
metrics: false,
audit: false
}
},
exportGlobalContextKeys: false,
externalModules: {},
editorTheme: {
palette: {},
projects: {
enabled: true,
workflow: {
mode: "manual"
}
},
codeEditor: {
lib: "ace",
options: {
theme: "vs",
}
}
},
functionExternalModules: true,
functionGlobalContext: {},
debugMaxLength: 1000,
mqttReconnectTime: 15000,
serialReconnectTime: 15000,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment