@@ -0,0 +1,9 @@
+---
+services:
+ gitlab-runner:
+ image: gitlab/gitlab-runner:alpine3.19
+ container_name: gitlab-runner-1
+ volumes:
+ - ./config/config.toml:/etc/gitlab-runner/config.toml:ro
+ - /var/run/docker.sock:/var/run/docker.sock
+ restart: unless-stopped
@@ -0,0 +1,16 @@
+log_level = "warning"
+
+[[runners]]
+ name = "gitlab-runner-1"
+ url = "gitlab.example.com" # change to your GitLab instance URL
+ executor = "docker"
+ token = "" # add your registration token here
+ limit = 0
+ [runners.docker]
+ tls_verify = false
+ image = "docker:latest"
+ privileged = true
+ disable_cache = false
+ volumes = ["/var/run/docker.sock:/var/run/docker.sock", "/cache"]
+ [runners.cache]
+ Insecure = false