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
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@ services:
    environment:
      CI_SERVER_URL: "${CI_SERVER_URL:-https://git.shore.co.il}"
      DOCKER_IMAGE: docker:19.03
      DOCKER_NETWORK_MODE: &network gitlab-runner
      REGISTRATION_TOKEN: "${REGISTRATION_TOKEN}"
      RUNNER_NAME: "${RUNNER_NAME}"
      REGISTER_RUN_UNTAGGED: "${RUN_UNTAGGED:-true}"
@@ -29,4 +30,4 @@ volumes:

networks:
  default:
    name: shore
    name: *network