docker in ubuntu server, data in synology nas

Hey all,

Like many, quite new to this whole environment, but doing my best not to give up. Really want a proper solution.

Currently running ubuntu server on a raspberry pi, but all my existing data is on a Synology nas. I don't want my ARR stack on the NAS, I want the ARR stack on the pi, but I want the data to be downloaded directly to the NAS. Is this solution feasible with mediastack? (in reference to the ENV file)

This is what I was thinking?

# Host Data Folders - Will accept Linux, Windows, NAS folders.

# Make sure these folders exists before running the "docker compose" command.

FOLDER_FOR_MEDIA=192.168.X.X:/volume1/mediastack/media

FOLDER_FOR_DATA=/opt/docker

Do I need to modify that FOLDER_FOR_MEDIA variable to parse credentials / typing?

Let me know,
Thanks all.