Skip to content

Instantly share code, notes, and snippets.

@arsalanses
Last active June 28, 2025 09:11
Show Gist options
  • Select an option

  • Save arsalanses/afd9ba25fba5eceddac63fdccb1a078c to your computer and use it in GitHub Desktop.

Select an option

Save arsalanses/afd9ba25fba5eceddac63fdccb1a078c to your computer and use it in GitHub Desktop.
gitlab runner
services:
gitlab-runner:
restart: unless-stopped
image: gitlab/gitlab-runner:alpine
volumes:
- ./config.toml:/etc/gitlab-runner/config.toml:ro
- /var/run/docker.sock:/var/run/docker.sock
concurrent = 1
[[runners]]
name = "runner-node-1"
url = "https://gitlab.com"
token = "YOUR_REGISTRATION_TOKEN"
executor = "docker"
limit = 0
[runners.cache]
Insecure = false
[runners.docker]
tls_verify = false
image = "docker:latest"
privileged = true
pull_policy = "if-not-present"
helper_image = "gitlab/gitlab-runner-helper:x86_64-v18.1.1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment