Hi,
You need to set up the folder paths within the docker side and the application side in order to do this properly.
Luckily there's a set of guides that describes exactly what you need: https://trash-guides.info/Hardlinks/How-to-setup-for/Synology/
Read this guide and the other pages to get a full idea of the setup required.