GitLab Community Edition¶
GitLab CE is a container based image.
Base Image¶
Base images can be obtained from Docker Hub.
Import Image¶
Sherpa¶
sherpa server image pull -m gitlab_ce -v 18.7.6-ce.0
Docker¶
Sherpa uses the system's docker images, so you can also pull the image down via the docker cli.
docker image pull gitlab/gitlab-ce:18.7.6-ce.0
Default Node Parameters¶
| Property | Value |
|---|---|
| Kind | Container |
| CPU | 2 |
| RAM | 4GB |
| ZTP Method | None |
| Management Interface | eth0 |
| Interface Driver | macvlan |
Example Manifest¶
name = "gitlab-ce"
nodes = [
{ name = "gitlab01", model = "gitlab_ce" },
]
Node Access¶
GitLab exposes a web UI on ports 80 and 443.
From the server host, browse to http://<gitlab_mgmt_ip>.
ssh -L 8080:<gitlab_mgmt_ip>:80 user@sherpa-server
Then browse to http://localhost:8080.
Notes¶
- Approximate time for the system to be ready:
3 minutes - GitLab CE requires significant resources. The default allocation is 2 CPUs and 4GB RAM.
- The initial
rootpassword can be retrieved from the container after first boot.