I installed a Gitlab instance on Ubuntu Server a few weeks back and since then have been battling with trying to change the data_dir to use an SMB share on a TrueNAS server, since the OS only has a 20GB disk.
I’ve failed miserably. I couldn’t figure out how to get the permissions right. I’m not sure it’s even possible now, looking deeper at the docs.
I am going to bin this instance now and I would like to set up a new one. I need to set this up with external storage for the data in mind. The external storage is a TrueNAS server and I can set up various types of shares, SMB, NFS, iSCSI, S3.
Looking at the docs it’s not immediately clear to me if any kind of external storage is even supported anymore. I see lots of mentions of Gitaly when looking up external storage but I’m not seeing any clear documentation on how to use that and how exactly it works. I must be overlooking it.
From what I understand there is a Gitaly instance installed with Gitlab. How can I configure the Gitaly node to use my external storage for all the data/repositories and get this setup how I want. Is it even possible?
Any help or advice would be greatly appreciated.