Last active
June 22, 2018 13:52
-
-
Save mborodov/ad65952f3c1910079ff2d9e295107b53 to your computer and use it in GitHub Desktop.
docker-compose.yml for run own Gitlab runner
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
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