Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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
Source by www.bilibili.com #
 
PREVIOUS NEXT
Tagged: #Gitlab #docker #installation
ADD COMMENT
Topic
Name
4+3 =