Data folder on SMB share? Please, help needed for the right way!

Hi to everyone.

On my proxmox tiny server I just installed nextcloud on a docker container. It’s runs great and really fast! Now I need some help for move (or reinstall if needed, I have nothing to save right now) the data folder inside my Nas (Truenas in the same server). I already found something about using smb share but I’m not able to understand all the steps to follow!

Thanks a lot for all your support!