This how-to describes how to create local GitLab instance
c2d-gitlab. The play
plays/mgmt/gitlab.yml uses the Ansible role geerlingguy.gitlab
to create it. The configuration for this node is in
group_vars/gitlab/main.yml. After performing the steps in this how-to you should be able to navigate to https://gitlab.c2platform.org
and login as
root with the password in
Create the reverse and forward proxy
unset PLAY # ensure all plays run
vagrant up c2d-rproxy1
For more information about the various roles that
c2d-rproxy1 performs in this project:
- Setup Reverse Proxy and CA server
- Setup SOCKS proxy
- Managing Server Certificates as a Certificate Authority
- Setup DNS for Kubernetes
vagrant up c2d-gitlab
The GitLab installer creates a password for the
root account in a file
/etc/gitlab/initial_root_password. The file will be deleted after 24 hours.
vagrant ssh c2d-gitlab -c "sudo cat /etc/gitlab/initial_root_password | grep Password:"
change password equal to
Via Profile → Access Tokens create an access token.
Start SOCKS proxy
You should be able to navigate to https://gitlab.c2platform.org
and login as
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.