

There is the docker image, you could try that under Windows (not entirely sure if will work to be honest), but the hardware requirements would still need to be taken into account for allocating CPU/memory under Windows than compared to Linux. I don’t see any advantages for running it under Windows or even a reason for attempting it. For Windows you would need at least 4GB for Windows, and then add the memory requirements of Gitlab, so then you would be looking at an additional 4 - 8GB, thus requiring 8 - 12GB for Windows, whereas the same on Linux would be 4 - 8GB including the Linux OS.

A Linux server with only gitlab installed will need far less CPU/ram requirements than Windows. Windows needs it’s own resources, as well as then having to cater for gitlab. Performance is also an advantage, it will run better under Linux than attempting it under Windows. Attempting to run it in some kind of Linux emulator under Windows for example would make it far harder for you to resolve issues since not many people are likely to run it this way. More people are likely to be able to help you if you are running it on Linux. Therefore, you are far better to install it under Linux. Then login, create a user, give him a first password, login with it update password, create a project, and use project's git url rather than http since the use of a port seems to generate some trouble with the http url.Hi the official downloads, there isn’t a native Windows installation for Gitlab. Step 3 Open the command prompt and navigate to your created folder. Rename the downloaded binary to gitlab-runner.exe. Step 2 Now download the binary for x86 or amd64 and copy it in the folder created by you.

For instance, you can create in C drive as C:\GitLab-Runner. Set it like this (cygwin): docker exec -it $(docker ps | grep gitlab | awk ' Step 1 First create a folder called 'GitLab-Runner' in your system. #important here: do not mount /var/opt/gitlab but /var/opt as stated here:ĭo (cygwin) docker ps | grep gitlab until status (healthy) is shown, then open a browser at If you are not asked the first time to change root password, Use the following docker-compose file: web: Note that I will use 8082 port for gitlab server.You can change it with any port number.ġ-open cmd and show your IP address.You need to look for the IPv4 Address in your network adapter :Ģ-Run your docker-ce image with this command :ĭocker run -detach -hostname YOUR-IP-ADRESS -publish 8082:8082 -publish 2282:22 -name gitlab -restart always -volume D:\DevOps\Gitlab/config:/etc/gitlab -volume D:\DevOps\Gitlab/logs:/var/log/gitlab -volume D:\DevOps\Gitlab/data:/var/opt/gitlab gitlab/gitlab-ce:latestģ-In docker terminal(in docker gui application press to "cli" buton) go here :Ĥ-Go to end of file at gitlab.rb and write these lines :Įxternal_url " gitlab_rails = 2282ĥ-After save and close to gitlab.rb file enter this code for reconfiguration:Ħ-Remove your docker container and run with this command again: And run your gitlab-ce image with docker run command.Gitlab should be running firstly. You can check gitlab documantation from Expose GitLab on different ports section.īefore starting the installation create 3 folder which names " config"," data"," logs" in a " gitlab" folder.
