Categories:
@startuml
title GitLab CE Deployment Diagram with Reverse Proxy
node "Reverse Proxy (Apache2)\nLXD Node: pxd-rproxy1\nUbuntu 22.04\nIP: 192.168.60.12" as rproxy {
component "Apache2 Reverse Proxy" as apache
}
node "LXD Node: pxd-gitlab\nUbuntu 22.04\nIP: 192.168.60.12" as lxd {
folder "GitLab CE" as gitlab {
component "GitLab CE Application\nhttps://gitlab.c2platform.org" as gitlab_app
component "GitLab Registry\nhttps://registry.c2platform.org" as gitlab_registry
}
}
apache --> gitlab_app : Proxy https://gitlab.c2platform.org
apache --> gitlab_registry : Proxy https://registry.c2platform.org
@enduml
Fix Gitlab Ansbile Role
The Ansible role GitHub - geerlingguy/ansible-role-gitlab: Ansible Role - GitLab is not correct, not suitable for current version of GitLab 18.1
Change
roles/external/geerlingguy.gitlab/templates/gitlab.rb.j2
# The directory where Git repositories will be stored.
# git_data_dirs({"default" => {"path" => "{{ gitlab_git_data_dir }}"} })
gitaly['configuration'] = {
storage: [
{
name: 'default',
path: '{{ gitlab_git_data_dir }}',
},
],
}
Provision
Change root
password
vagrant ssh $BOX -c "sudo cat /etc/gitlab/initial_root_password | grep Password:"
Show me
vagrant ssh $BOX -c "sudo cat /etc/gitlab/initial_root_password | grep Password:"
Password: L6CJP/AEZJTtyA45Hr72Q9gdj37lv9CdL+WOkkg/AqU=
Go to
https://gitlab.c2platform.org
login as root
with password retrieved with the command and change the password.
Troubleshooting
gitlab --help
Feedback
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.
Last modified July 1, 2025: phx gitlab pxd-gitlab PHX-24 (8ac002b)