Loading gitlab-runner/docker-compose.gitlab-runner-local.dev.yml +7 −0 Original line number Diff line number Diff line Loading @@ -14,3 +14,10 @@ services: memory: 1G reservations: memory: 820M volumes: etc-vol: name: gitlab-runner-local-etc-vol home-vol: name: gitlab-runner-local-home-vol gitlab-runner/docker-compose.gitlab-runner-local.tmpl.yml +10 −8 Original line number Diff line number Diff line Loading @@ -8,13 +8,6 @@ services: -c " gitlab-runner register ; gitlab-runner run --user=gitlab-runner --working-directory=/home/gitlab-runner" networks: - gitlab-net volumes: - /var/run/docker.sock:/var/run/docker.sock configs: - source: config-local target: /etc/gitlab-runner/config.toml environment: - CI_SERVER_URL=${GITLAB_URL} - REGISTRATION_TOKEN=${GITLAB_TOKEN} Loading @@ -41,11 +34,20 @@ services: - S3_SECRET_KEY=${MINIO_SECRET_KEY} - S3_BUCKET_NAME=${RUNNER_S3_BUCKET_NAME} - S3_CACHE_INSECURE=${RUNNER_S3_CACHE_INSECURE} networks: - gitlab-net volumes: - /var/run/docker.sock:/var/run/docker.sock - etc-vol:/etc/gitlab-runner - home-vol:/home/gitlab-runner configs: - source: config-toml target: /etc/gitlab-runner/config.toml networks: gitlab-net: external: true configs: config-local: config-toml: file: ./config-local/config.toml gitlab-runner/docker-compose.gitlab-runner-remote.dev.yml +7 −0 Original line number Diff line number Diff line Loading @@ -14,3 +14,10 @@ services: memory: 1G reservations: memory: 820M volumes: etc-vol: name: gitlab-runner-remote-etc-vol home-vol: name: gitlab-runner-remote-home-vol gitlab-runner/docker-compose.gitlab-runner-remote.tmpl.yml +10 −8 Original line number Diff line number Diff line Loading @@ -8,13 +8,6 @@ services: -c " gitlab-runner register ; gitlab-runner run --user=gitlab-runner --working-directory=/home/gitlab-runner" networks: - gitlab-net volumes: - /var/run/docker.sock:/var/run/docker.sock configs: - source: config-remote target: /etc/gitlab-runner/config.toml environment: - CI_SERVER_URL=${GITLAB_URL} - REGISTRATION_TOKEN=${GITLAB_TOKEN} Loading @@ -41,11 +34,20 @@ services: - S3_SECRET_KEY=${MINIO_SECRET_KEY} - S3_BUCKET_NAME=${RUNNER_S3_BUCKET_NAME} - S3_CACHE_INSECURE=${RUNNER_S3_CACHE_INSECURE} networks: - gitlab-net volumes: - /var/run/docker.sock:/var/run/docker.sock - etc-vol:/etc/gitlab-runner - home-vol:/home/gitlab-runner configs: - source: config-toml target: /etc/gitlab-runner/config.toml networks: gitlab-net: external: true configs: config-remote: config-toml: file: ./config-remote/config.toml Loading
gitlab-runner/docker-compose.gitlab-runner-local.dev.yml +7 −0 Original line number Diff line number Diff line Loading @@ -14,3 +14,10 @@ services: memory: 1G reservations: memory: 820M volumes: etc-vol: name: gitlab-runner-local-etc-vol home-vol: name: gitlab-runner-local-home-vol
gitlab-runner/docker-compose.gitlab-runner-local.tmpl.yml +10 −8 Original line number Diff line number Diff line Loading @@ -8,13 +8,6 @@ services: -c " gitlab-runner register ; gitlab-runner run --user=gitlab-runner --working-directory=/home/gitlab-runner" networks: - gitlab-net volumes: - /var/run/docker.sock:/var/run/docker.sock configs: - source: config-local target: /etc/gitlab-runner/config.toml environment: - CI_SERVER_URL=${GITLAB_URL} - REGISTRATION_TOKEN=${GITLAB_TOKEN} Loading @@ -41,11 +34,20 @@ services: - S3_SECRET_KEY=${MINIO_SECRET_KEY} - S3_BUCKET_NAME=${RUNNER_S3_BUCKET_NAME} - S3_CACHE_INSECURE=${RUNNER_S3_CACHE_INSECURE} networks: - gitlab-net volumes: - /var/run/docker.sock:/var/run/docker.sock - etc-vol:/etc/gitlab-runner - home-vol:/home/gitlab-runner configs: - source: config-toml target: /etc/gitlab-runner/config.toml networks: gitlab-net: external: true configs: config-local: config-toml: file: ./config-local/config.toml
gitlab-runner/docker-compose.gitlab-runner-remote.dev.yml +7 −0 Original line number Diff line number Diff line Loading @@ -14,3 +14,10 @@ services: memory: 1G reservations: memory: 820M volumes: etc-vol: name: gitlab-runner-remote-etc-vol home-vol: name: gitlab-runner-remote-home-vol
gitlab-runner/docker-compose.gitlab-runner-remote.tmpl.yml +10 −8 Original line number Diff line number Diff line Loading @@ -8,13 +8,6 @@ services: -c " gitlab-runner register ; gitlab-runner run --user=gitlab-runner --working-directory=/home/gitlab-runner" networks: - gitlab-net volumes: - /var/run/docker.sock:/var/run/docker.sock configs: - source: config-remote target: /etc/gitlab-runner/config.toml environment: - CI_SERVER_URL=${GITLAB_URL} - REGISTRATION_TOKEN=${GITLAB_TOKEN} Loading @@ -41,11 +34,20 @@ services: - S3_SECRET_KEY=${MINIO_SECRET_KEY} - S3_BUCKET_NAME=${RUNNER_S3_BUCKET_NAME} - S3_CACHE_INSECURE=${RUNNER_S3_CACHE_INSECURE} networks: - gitlab-net volumes: - /var/run/docker.sock:/var/run/docker.sock - etc-vol:/etc/gitlab-runner - home-vol:/home/gitlab-runner configs: - source: config-toml target: /etc/gitlab-runner/config.toml networks: gitlab-net: external: true configs: config-remote: config-toml: file: ./config-remote/config.toml