Deploy Gitlab using Docker
You can deploy any version of gitlab easily on any platform using docker,
For that your system should have docker and docker-compose installed.
you can folllow the official documentaion here:- https://docs.docker.com/desktop/install
Select the OS and follow the steps, It’s actually easy…
Copy the docker-compose file, docker-compose file is available here: https://github.com/sebinn09/gitlab-ce/blob/main/docker-compose.yaml
Make 3 directories,
mkdir config — — For storing config files
mkdir logs — — For storing logs
mkdir data — — For storing data
Best thing about this is, you don’t have to configure SSL cert, It’s all inbuild in this docker image…
docker-compose up
Your gitlab will be ready in 4 to 5 mins…