Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

gitlab docker setup

sudo docker run --detach 
  --hostname gitlab.example.com 
  --publish 443:443 --publish 80:80 --publish 22:22 
  --name gitlab 
  --restart always 
  --volume $GITLAB_HOME/config:/etc/gitlab 
  --volume $GITLAB_HOME/logs:/var/log/gitlab 
  --volume $GITLAB_HOME/data:/var/opt/gitlab 
  gitlab/gitlab-ee:latest
    
Comment

Gitlab docker installation

sudo docker run --detach 
  --hostname yourhostname.com 
  --publish 443:443 --publish 80:80 --publish 222:22 
  --name gitlab 
  --restart always 
  --volume /srv/gitlab/config:/etc/gitlab 
  --volume /srv/gitlab/logs:/var/log/gitlab 
  --volume /srv/gitlab/data:/var/opt/gitlab 
  gitlab/gitlab-ce:latest
Comment

Gitlab docker runner installation

sudo docker run -d --name gitlab-runner --restart always 
  -v /srv/gitlab-runner/config:/etc/gitlab-runner 
  -v /var/run/docker.sock:/var/run/docker.sock 
  gitlab/gitlab-runner:latest
Comment

Install GitLab using Docker Engine

curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo docker run --detach 
  --hostname gitlab.example.com 
  --publish 443:443 --publish 8090:8090 --publish 22:22 
  --name gitlab 
  --restart always 
  --volume $GITLAB_HOME/config:/etc/gitlab 
  --volume $GITLAB_HOME/logs:/var/log/gitlab 
  --volume $GITLAB_HOME/data:/var/opt/gitlab 
  --shm-size 256m 
  gitlab/gitlab-ee:latest
Comment

PREVIOUS NEXT
Code Example
Shell :: save username and password in git 
Shell :: install flutter in android studio 
Shell :: how to delete a word from a bash file 
Shell :: move file in terminal 
Shell :: pip install webview error 
Shell :: git squase to rename author 
Shell :: bash while 
Shell :: how to install imsomnia on manjaro linux 
Shell :: vim cut 
Shell :: Jenkins ssh credentials in pipeline 
Shell :: install npm in windows 
Shell :: remove homebrew tap 
Shell :: git get back to most recent commit 
Shell :: aws lightsail ssl installation 
Shell :: sudo apt install 
Shell :: .bat script on computer startup 
Shell :: gnome set wallpaper command line 
Shell :: how to add image in readme 
Shell :: install docker on windows server 2019 
Shell :: vi quit 
Shell :: force docker for a clean build of an image 
Shell :: install vim in vs 
Shell :: assign permission to files and folder ubuntu separate 
Shell :: raspberry pi remote desktop 
Shell :: print first word of each line by grep 
Shell :: how to open terminal in vs code 
Shell :: git revert remote branch 
Shell :: expo cli 
Shell :: uninstall awesome window manager ubuntu 
Shell :: start vagrant 
ADD CONTENT
Topic
Content
Source link
Name
1+4 =