https://github.com/codenomad1337/gitlab-autosetup
This repository contains scripts to start GitLab and GitLab-Runner as Podman container on Windows. This should not be used in production!
https://github.com/codenomad1337/gitlab-autosetup
gitlab gitlab-runner podman podman-compose
Last synced: 6 months ago
JSON representation
This repository contains scripts to start GitLab and GitLab-Runner as Podman container on Windows. This should not be used in production!
- Host: GitHub
- URL: https://github.com/codenomad1337/gitlab-autosetup
- Owner: CodeNomad1337
- License: gpl-3.0
- Created: 2025-08-29T13:36:33.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-08-29T14:01:39.000Z (7 months ago)
- Last Synced: 2025-09-10T01:01:05.134Z (7 months ago)
- Topics: gitlab, gitlab-runner, podman, podman-compose
- Language: PowerShell
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitLab-Autosetup
This repository contains scripts to start GitLab and GitLab-Runner as Podman container on Windows. This should not be used in production!
## Requriements
On a Windows Host Podman needs to be installed and configured with WSL.
For service ports (<1024) the `/etc/sysctl.conf` of the WSL podman should contain the following line: `net.ipv4.ip_unprivileged_port_start=22`
## Setup
Create a `root_password.txt` with the root password.
Now you can start the `setup.ps1` script.
It will create GitLab and depending on the number of replicas defined in `compose.yml` (default: 4) the GitLab-Runner instances. Those will register themself to the GitLab instance.
By default port forwarding and firewall rules are added for SSH, HTTP and HTTPS.
## Teardown
Once your work is done just execute `teardown.ps1`.
The podman volumes will keep the configurations.
## ToDo / known issues
- Remove 'old' runners from registered runners
- Don't re-register if a runner has a valid registration