Skip to content

Commit

Permalink
Improve docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
pdesgarets committed Aug 27, 2019
1 parent 73ec2ab commit 053c412
Showing 1 changed file with 24 additions and 10 deletions.
34 changes: 24 additions & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,24 @@
GitlabCIMultiRunner:
image: digitallumberjack/docker-gitlab-ci-multi-runner:v11.9.0
volumes:
- /srv/docker/gitlab-runner:/home/gitlab_ci_multi_runner/data
environment:
- CI_SERVER_URL=
- RUNNER_TOKEN=
- RUNNER_DESCRIPTION=
- RUNNER_EXECUTOR=shell
restart: always
version: '2'

services:
runner_docker:
restart: always
image: local-grunner
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /home/gitlab_ci_multi_runner/data
ports:
- 8000-8100:9000
environment:
- CI_SERVER_URL=https://mydomaingitlab.com/ci
- RUNNER_TOKEN=
- RUNNER_DESCRIPTION="Docker runner"
- RUNNER_EXECUTOR=docker
- RUNNER_DOCKER_IMAGE=docker:latest
- RUNNER_DOCKER_MODE=socket
- RUNNER_AUTOUNREGISTER=true
- RUNNER_TAG_LIST=localtest
- REGISTER_RUN_UNTAGGED=false
- RUNNER_ADVERTISE_SESSION_ADDRESS=mydomain.com
- RUNNER_INTERNAL_SESSION_PORT=9000

0 comments on commit 053c412

Please sign in to comment.