From e1ae634cc92ae1124e69c04b78f2c90ec3152ba7 Mon Sep 17 00:00:00 2001 From: William Miceli <1-WilliamMiceli@git.williammiceli.systems> Date: Thu, 1 Aug 2019 15:10:12 -0400 Subject: [PATCH] Added comments --- templates/GitLab-Runner/0/docker-compose.yml | 24 ++++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/templates/GitLab-Runner/0/docker-compose.yml b/templates/GitLab-Runner/0/docker-compose.yml index f55ebea..f083973 100644 --- a/templates/GitLab-Runner/0/docker-compose.yml +++ b/templates/GitLab-Runner/0/docker-compose.yml @@ -5,18 +5,18 @@ services: image: gitlab/gitlab-runner:alpine # Alpine Linux image is designed to use only Docker as the method of spawning runners command: - register - environment: - REGISTER_NON_INTERACTIVE: true - CI_SERVER_URL: http://gitlab/ - REGISTRATION_TOKEN: ${GITLAB_TOKEN} - RUNNER_EXECUTOR: docker - RUNNER_NAME: ${GITLAB_RUNNER_DESCRIPTION} - RUNNER_TAG_LIST: ${GITLAB_TAGS} - REGISTER_LOCKED: false - DOCKER_IMAGE: docker:latest - DOCKER_PRIVILEGED: true - DOCKER_EXTRA_HOSTS: gitlab:${GITLAB_IP} - DOCKER_HOST: tcp://docker:2375/ + environment: # Options can be found by running "gitlab-runner register". More info found at https://docs.gitlab.com/runner/configuration/advanced-configuration.html + REGISTER_NON_INTERACTIVE: true # Run registration unattended + CI_SERVER_URL: http://gitlab/ # Runner URL + REGISTRATION_TOKEN: ${GITLAB_TOKEN} # Runner's registration token + RUNNER_EXECUTOR: docker # Select executor, eg. shell, docker, etc. + RUNNER_NAME: ${GITLAB_RUNNER_DESCRIPTION} # Runner name + RUNNER_TAG_LIST: ${GITLAB_TAGS} # Tag list + REGISTER_LOCKED: false # Lock Runner for current project + DOCKER_IMAGE: docker:latest # Docker image to be used + DOCKER_PRIVILEGED: true # Give extended privileges to container + DOCKER_EXTRA_HOSTS: gitlab:${GITLAB_IP} # Add a custom host-to-IP mapping + DOCKER_HOST: tcp://docker:2375/ # Docker daemon address external_links: {{- if .Values.GITLAB_LINK}} - ${GITLAB_LINK}:gitlab