Last active
June 28, 2025 09:11
-
-
Save arsalanses/afd9ba25fba5eceddac63fdccb1a078c to your computer and use it in GitHub Desktop.
gitlab runner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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