/** * Node-RED Settings for EVOLV Docker Development Environment * * This configuration is for LOCAL DEVELOPMENT ONLY. * No authentication — do not expose to untrusted networks. */ module.exports = { flowFile: '/data/flows.json', userDir: '/data', // Bind to all interfaces inside the container uiHost: '0.0.0.0', uiPort: 1880, // No authentication for dev environment adminAuth: null, // Disable projects (we use git directly) editorTheme: { projects: { enabled: false } }, // Global context available to function nodes functionGlobalContext: { locationId: process.env.LOCATION_ID || 'docker-dev', uuid: require('crypto').randomUUID() }, // Logging logging: { console: { level: 'info', metrics: false, audit: false } }, // Increase max message size for large telemetry payloads apiMaxLength: '5mb', // Diagnostic reporting off for dev diagnostics: { enabled: false } };