GitLab is a web-based DevOps lifecycle tool that provides a Git-repository manager including wiki, issue-tracking and continuous integration and deployment pipeline features, using an open-source license, developed by GitLab Inc.
This article outlines the steps and procedures for installing a self-hosted instance of GitLab-CE on a bare-metal raspberry pi 4 running Raspberry Pi OS Lite (ARM64).
This setup should work on the following system configuration(s):
- Hardware: Raspberry Pi 4
- OS: Raspberry Pi OS Lite (ARM-64)
Download & Installation 
Locate the current gitlab-ce version for your CPU & OS
- Open a browser and navigate to, https://packages.gitlab.com/gitlab/gitlab-ce
- Find the specific URL for the Debian, ARM-64 version, for example:
gitlab / gitlab-ce / debian / buster : https://packages.gitlab.com/gitlab/gitlab-ce/packages/debian/buster/gitlab-ce_13.12.3-ce.0_arm64.deb
Add Repo and Run the installation script
To add the Repo, open a terminal on the device and type,
curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
To begin the installation execute the following command,
sudo apt-get install gitlab-ce=13.12.3-ce.0
(This process may take a few minutes to complete)
Configure URL (Local IP) 
If you failed to pass the EXTERNAL_URL variable during the initial installation then you must edit the gitlab configuration file to specify the default URL for accessing GitLab.
- Open the GitLab Config file for editing:
$ sudo nano /etc/gitlab/gitlab.rb
Locate the section title, “GitLab URL” and edit the following value:
external_url 'http://<local IP address>'
'<local IP address>' with the local IP address of the device hosting GitLab.
- Reconfigure GitLab to apply changes,
$ sudo gitlab-ctl reconfigure
Once this process has completed, you should be able to access the GitLab server from any device on your network using the specified IP address.