Skip to content

Instantly share code, notes, and snippets.

@mborodov
Last active June 22, 2018 13:52
Show Gist options
  • Save mborodov/ad65952f3c1910079ff2d9e295107b53 to your computer and use it in GitHub Desktop.
Save mborodov/ad65952f3c1910079ff2d9e295107b53 to your computer and use it in GitHub Desktop.
docker-compose.yml for run own Gitlab runner
version: '2'
services:
gitlab-runner:
image: gitlab/gitlab-runner:latest
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
- '.ssh:/root/.ssh'
- './etc/gitlab-runner:/etc/gitlab-runner'
container_name: gitlab-runner
environment:
- CI_SERVER_URL=https://git.infoservice.ru
- RUNNER_DESCRIPTION=Infoservice Runner
- RUNNER_EXECUTOR=docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment