Skip to content

Instantly share code, notes, and snippets.

@sagitarius29
Last active March 6, 2021 15:29
Show Gist options
  • Save sagitarius29/5cf482259b4f92512531b86bfa8b7bae to your computer and use it in GitHub Desktop.
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
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