Last active
March 6, 2021 15:29
-
-
Save sagitarius29/5cf482259b4f92512531b86bfa8b7bae to your computer and use it in GitHub Desktop.
Gitlab Runner configuration compatible with docker in docker. File in /etc/gitlab-runner/config.toml
This file contains 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 = 2 | |
check_interval = 0 | |
[session_server] | |
session_timeout = 1800 | |
[[runners]] | |
name = "docker-runner" | |
url = "https://gitlab.com/" | |
token = "HERETOKEN" | |
executor = "docker" | |
[runners.custom_build_dir] | |
[runners.cache] | |
[runners.cache.s3] | |
[runners.cache.gcs] | |
[runners.cache.azure] | |
[runners.docker] | |
tls_verify = false | |
image = "alpine:latest" | |
privileged = false | |
disable_entrypoint_overwrite = false | |
oom_kill_disable = false | |
disable_cache = false | |
volumes = ["/var/run/docker.sock:/var/run/docker.sock", "/certs/client", "/cache"] | |
shm_size = 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment