Member-only story

Gitlab setup Via Docker

Dheeraj kumar
Nov 11, 2020

GitLab is an important DevOps lifecycle tool that provides a Git-repository manager providing wiki, issue-tracking, and also it acts as a Continous Integration server providing various deployment pipeline features like creating your own runner, integrating docker registry with GitLab etc.

sudo docker run --detach --hostname aws.com 
--publish 80:80
--publish 22:22
--publish 443:443
--name gitlab-linode
--restart always
--volume /srv/gitlab/config:/etc/gitlab
--volume /srv/gitlab/logs:/var/log/gitlab
--volume /srv/gitlab/data:/var/opt/gitlab
--env GITLAB_OMNIBUS_CONFIG="external_url 'http://aws.com';" gitlab/gitlab-ee:latest

Hostname: Your server DNS name.

GITLAB_OMNIBUS_CONFIG: Your server DNS name followed by http

GitLab-ee:latest: It is the Gitlan Enterprise Edition docker image.

After running this command, browse to your server address you will prompt to change your administrator password,

After changing your password, you will redirected to a screen something like this:

--

--

Dheeraj kumar
Dheeraj kumar

Written by Dheeraj kumar

A DevOps/MLOps/GitOps/SecOps who is passionate about Autom@tion.

No responses yet