Gitlab on Raspberry Pi

06 Sep 2020 / Oscar F
RaspberryPi with Gitlab logo

Configure the Swap file

sudo nano /etc/dphys-swapfile

Put this line in a comment #


Install dependencies

sudo apt-get install curl openssh-server ca-certificates apt-transport-https
curl | sudo apt-key add -

If you want to use the email functionality install postfix.

sudo apt-get install -y postfix

Download Gitlab

sudo curl -sS | sudo bash

Install Gitlab

To use Gitlab only on your local network exclude: EXTERNAL_URL = ""

sudo EXTERNAL_URL="" apt-get install gitlab-ce

This can take some time but then you can login.


Disable new signups

Disable Auto devops core only

Add some SSH keys


[1]: Configure the Swap file Retrieved: 5 Sep 2020 20:00

[2]: Install dependencies Retrieved: 5 Sep 2020 20:00

[3]: Logo Retrieved: 5 Jan 2021 20:00