I have been running n8n on my unraid machine succesfully for a while now - absolutely love it! To use some additional javascript functions i have set
NODE_FUNCTION_ALLOW_BUILTIN to axios for example and it works well.
Now i would like to add some external node packages like ccxt for example. How do I go about this while maintaining a way to update n8n in the future? I dont have a great understanding of docker per se so please apologize any obv tings that i have missed here.
Would this be the correct way?
Build docker file:
FROM n8nio/n8n:latest
RUN npm install -g ccxt
Build docker image:
docker build -t custom-n8n .
Run docker image:
docker run -d --name n8n -p 5678:5678 custom-n8n
A few questions:
How would i update n8n in the future?
How can I ensure that my current n8n data is transfered / accessible in the new n8n install?
Will this docker show and be controllable via the Unraid WebUI?
Do i need to install any plugins to enable running my own docker?
I guess I would also have to set NODE_FUNCTION_ALLOW_EXTERNAL if im not mistaken?
Any help, tips, hints would be greatly appreciated!