Blast Radius augmented with Bind Volume?

Abhishek describes the Blast Radius configuration for using Task Runner.
What if we add a bind mounnt volume in order to use the "Read/Write Files from disk" node in a workflow?
I tried a few modifications in the set up according to relevant topics but they all failed.
The aim being to have a "mydata" folder on local host where n8n could read and write files.
Is this a reasonably achievable goal?

Blast Radius: https://medium.com/@abhishekaryan2/n8n-task-runners-the-blast-radius-protocol-1b8388364597
 

Thank you for your reply, it’s always comforting to know that our goal is achievable!
I tried yout possible fix. The corresponding compose.yaml file is below.
I still got an error when using the ā€œRead File from diskā€ node with file path sets as ā€œ/home/runner/data/file.jsonā€. It is to be noted that file.json does appear in the directory /home/runner/data/ when looking in the runing runner container in Docker Desktop.
Do i miss something or misunderstood your possible fix?

I

@BMCMLXV the Read/Write Files from Disk node runs in the main n8n container, not the runner, so mounting mydata only on the runner service won’t help. add the same bind mount to the n8n service too and point the node at that path inside the n8n container.

{ "nodes": [ { "parameters": {"fileSelector": "/home/node/mydata/file.json"}, "name": "Read File", "type": "n8n-nodes-base.readWriteFile", "typeVersion": 1, "position": [400, 300] } ], "connections": {} }

make sure the host folder is chown’d to uid 1000 so the node user can read it.

This is the amended and working version of the compose.yaml file according to your comments.
Thank you. And to @tamy.santos as well.