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 :: linux samba service 
Shell :: how to overwrite file linux cli 
Shell :: download brave linux 
Shell :: how to view hidden files and folders on terminal 
Shell :: rsync exclude 
Shell :: windows del force yes 
Shell :: kde increase fpsz 
Shell :: win add to startup 
Shell :: download kubectl for windows 
Shell :: how to upgrade npm in ubuntu 
Shell :: anaconda install package 
Shell :: boot maker for ubuntu 
Shell :: kubernetes pod stuck in terminating 
Shell :: build docker file with no cache 
Shell :: how to install portainer on raspberry pi 
Shell :: setup systemctl redis 
Shell :: switch user in windows 10 
Shell :: reboot with systemctl command 
Shell :: source command in shell script 
Shell :: right click touchpad ubuntu budgie 
Shell :: composer install one line 
Shell :: remove local commiits 
Shell :: install python 3.10 on raspberry pi 
Shell :: git change rempte 
Shell :: how to install react loader spinner 
Shell :: sourcetree permission denied (publickey) github mac 
Shell :: git init command 
Shell :: chown command 
Shell :: get changes from differente branch git 
Shell :: dev/mapper/ubuntu--vg-ubuntu--lv 
ADD CONTENT
Topic
Content
Source link
Name
5+6 =