Skip to content
Snippets Groups Projects
Commit 4e427ea4 authored by nimrod's avatar nimrod
Browse files

Seperate Docker network.

Seperate the runner and jobs to a network just for themselves.
parent 1c801b16
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,7 @@ services: ...@@ -7,6 +7,7 @@ services:
environment: environment:
CI_SERVER_URL: "${CI_SERVER_URL:-https://git.shore.co.il}" CI_SERVER_URL: "${CI_SERVER_URL:-https://git.shore.co.il}"
DOCKER_IMAGE: docker:19.03 DOCKER_IMAGE: docker:19.03
DOCKER_NETWORK_MODE: &network gitlab-runner
REGISTRATION_TOKEN: "${REGISTRATION_TOKEN}" REGISTRATION_TOKEN: "${REGISTRATION_TOKEN}"
RUNNER_NAME: "${RUNNER_NAME}" RUNNER_NAME: "${RUNNER_NAME}"
REGISTER_RUN_UNTAGGED: "${RUN_UNTAGGED:-true}" REGISTER_RUN_UNTAGGED: "${RUN_UNTAGGED:-true}"
...@@ -29,4 +30,4 @@ volumes: ...@@ -29,4 +30,4 @@ volumes:
networks: networks:
default: default:
name: shore name: *network
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment