Configure a secondary gitlab container registry (external)

Hi Gitlab Experts,

We currently have a self-managed omnibus running internally. We have configured one container registry for that gitlab server as well. Now, we are planning to have a second container registry for the same gitlab server to serve another location so that it would be faster for them to push and pull data from their own registry.

Can 2 container registries be configured for the same gitlab server and is this setup possible? Thank you.

I once tried this on my Gitlab Setup and it was a simple one where my 2 registries sit behind a Load Balancer which worked. Although I did not do extensive testing.

There’s another setup which includes a redis pool to sync metadata - Private docker registry and high availability - Stack Overflow

1 Like

Is it possible that for the 2nd docker registry. It just authenticates to the gitlab server or only one registry at a time can be connected to the gitlab server?