My syno shares use:
The Hostname points to my subnet where my docker nodes are. Instead of Squash all uid/gid to the admin, I leave them as they are an make sure my container uses the same uid/gid. Regarding Securtiy: do you realy use kerberos?
I declare the named volume in the compose file like this:
volumes:
myvolume:
driver_opts:
type: nfs
o: addr=192.168.200.19,nfsvers=4
device: :/volume1/myshare/subfolder
Since years, it works like a charme like this.
