This repository contains a working configuration of node-red that can be deployed on Platform.sh and used for workflow automation. It is configured with:
- A publicly available
/filespath to serve node-red processed files publicly e.g. output >files/{filename}.pdfon node-red - The flow editor is served from the
/adminpath so that a static site can be served from/
You can add new nodes to node-red by installing them with npm locally and committing the changes. You can also install them in place using Source Operations with this command:
platform source-operation:run install-node --variable env:NR_NODE={npm package name}
Node-red is updated automatically during every build. You can update node-red in place using our Source Operations feature with this Platform.sh CLI command:
platform source-operation:run update-nodered
You can revert to the last commit if your node install or update is not successful with this Platform.sh CLI command:
platform source-operation:run revert-commit
Your node-red application can be secured by HTTP basic authentication using this Platform.sh CLI command:
platform environment:http-access --auth nodered:nodered
Documentation: Platform.sh | Node-Red
Github: Platform.sh | Node-Red