Docker on synology - node-red user

I'm sure this is a simple question stemming from my lack of Unix literacy. Installed NR in docker on Synology NAS. I needed flow/module data to persist outside docker, so used a volume mapping to the main filesystem. To get this to work (ie get rid of the permissions errors on startup) I needed to change the permissions on the target location to give everyone full permissions (yes I know, a bad idea, but temporary to work out what is going on). NR now comes up and functions as expected. Files in the mounted volume are created as expected and have user/group of 1001,1001. Looking at the dockerfile, this appears to be the result of docker creating a "node-red" user inside the container. Since there does not appear to be any control over uid/gid in the user creation machinery in DSM, not sure how to sync the internal user with an external user that would allow me to lock this down. Any thoughts? I am presuming that changing/removing the user creation code in the dockerfile might work...