Docker files to host GitLab and GitLab Runner on WSL2.
- docker
- docker-compose
-
Set the IP address of the Windows host to the environment variable
WINDOWS_IP
.export WINDOWS_IP = 192.168.1.10
-
Enable the docker service.
sudo service docker start
-
Run the following command in the directory where the
docker-compose.yml
exists.docker-compose up -d
-
GitLab can be accessed from
http://{WINDOWS_IP}:8080/