gitlab-runner
---
services:
gitlab-runner:
image: docker.io/gitlab/gitlab-runner:alpine-v17.9.1
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-stoppedlog_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 = falseMis à jour