Yes, but that is (IMO) overkill and posses difficulties (like which user runs Node-RED, how to setup a service, unnecessarily running a FULL OS + GUI etc) not to mention all the setup to get NodeJS installed, Node-RED installed etc.
Better, but not the best. You are still running a full(er) OS than a container would and you still need to manage OS updates etc.
Since you can run containers on QNAP NAS, installing Node-RED as a docker image would be far less power hungry and even easier to maintain than having to upgrade OS packages, security patches etc etc.
Urk! Maybe feasible if your QNAP has loads of memory. But, as Steve says, not the optimal approach.
If you are already using Docker, that would be a more sensible and less resource hungry approach. Oops, I now see Steve already said that. I'm not a great Docker fan but this is certainly a valid use-case if ever there was one.
Hey guys,
thanks for the hints.
Okay so VMs (either Win or Linux are overkill - understood.
So I will go for Docker.
Do I undertsand it right, that If I use a data folder that resides outside the container I can destroy and use a newer build (so update Node Red) without loosing any data ?
As I am a complete newbie sorry for the question: where can I find this folder?
I will install a testsystem this weekend and I can also do a search on my own to find the files....
It is the one you are mapping outside the container. It should contain your flows file, settings.js etc. In a normal install it is usually ~/.node-red, but I don't know about Docker. I presumed it was the data folder you mentioned. I was just pointing out that you should not rely on just mapping it out to the file system, you should also back it up (as should non-docker systems) in case of disc failure, or user error, for example.
Okay I will check where the files willl be stored.
And as the docker container will run on a QNAP NAS I will backup the data regularily as I do with all my data.
Is it as it is always with backups:
If you do backups, you never need them and yo always think "well the backups need a lot of space on the disks" but if you decide to stop data backup a week later the disaster happens
Happened to a friend 2 weeks ago and I was that sort of friend that told him "no backup no pity"