Change repository storage path

hi all!
I installed gitlab on my raspberry and works fine:
due the small disk I wish set a storage path from a network shared folder…

I read this:


but no way to work:

I mounted the folder like this:
sudo mount -t cifs //192.168.0.99/Public/Repo /media/Repo/gitlab
and using in the gitlab.rb the /media/Repo/gitlab doesn’t work, gives a ownership permission error… how can I fix this?
thanks in advance