Posted onEdited onInGitlabViews: Disqus: Symbols count in article: 705Reading time ≈1 mins.
How To Install Gitlab Docker
這篇介紹How To Install Gitlab Docker.
How To Install Gitlab Docker.
1 2 3 4 5 6
Build gitlab with docker: Use official gitlab image to build gitlab and version is 13.3.6.
$ docker run --detach --hostname {{ip}} -p {{port}}:80 --name gitlab --restart always --volume /home/gitlab/config:/etc/gitlab --volume /home/gitlab/logs:/var/log/gitlab --volume /home/gitlab/data:/var/opt/gitlab gitlab/gitlab-ce:13.3.6-ce.0 {ip}:host ip address {port}:open up externally port number
Hardware requirements
1 2 3 4 5 6 7
Gitlab - Storage The necessary hard drive space largely depends on the size of the repositories you want to store in GitLab - CPU 4 cores is the recommended minimum number - Memory 4GB RAM is the required minimum memory size