Deploy Gitlab using Docker

SebinnSebastian
Aug 22, 2022

--

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…

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

SebinnSebastian
SebinnSebastian

Written by SebinnSebastian

DevOps Engineer | Redhat Certified System Administrator | K8s Administrator | AWS, Docker, Terraform, GCP

No responses yet

Write a response