This git repository will demonstrate how GitLab are installed as a stand-alone dockerized GitLab Community Edition server in a Ubuntu Focal VM orchestrated using Vagrant.
Vagrant will be used to create VM in Oracle VirtualBox. This intended to show case orchestration of Oracle VirtualBox using Hashicorp Vagrant, and making GitLab example as a turn-key sample without needing to installed files or services in your local machine.
The GitLab Docker images | GitLab may pose as a challenge for users to modify it to work on Windows based OS Hosts.
Internet connection Windows OS Host with 16GB RAM or higher
Note: The VM to run GitLab CE without memory trashing will need at least 8GB
This Demo was tested on the following software installed in Windows 10
Oracle VirtualBox Version | Hashicorp Vagrant Version | |
---|---|---|
Older Configuration | 6.1.18 r142142 | 2.2.15 i686 |
Tested Configuration 1 | 7.0.10 r158379 | 2.3.7 i686 |
Tested Configuration 2 | 7.0.12 r159484 | 2.4.0 i686 |
- Make sure Vagrant and VirtualBox is installed.
- git clone this repo.
- Update your windows host file to have the gitlab.example.com to be pointed to 127.0.0.1
- Open the command prompt (Administrator mode is not needed).
- change directory into the cloned git repo 'localdev'
- Lastly, run "vagrant up"
Note: DO NOT use this example in a production environment as it is not Hardened with security best practices.