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 // /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