Standalone Gitlab Registry

I am defining an architecture in which there is the need to have a local registry of docker images and other artefacts closer to the local server and I’m wondering if it is possible to install the Gitlab Registries as a standlalone package and use it from my application.
Any idea on how to achieve this?