Skip to content
Snippets Groups Projects
docker-compose.yml 622 B
Newer Older
---
version: '3.7'
services:
  runner:
    build:
nimrod's avatar
nimrod committed
      context: runner/
    environment:
      CI_SERVER_URL: "${CI_SERVER_URL:-https://git.shore.co.il}"
      DOCKER_IMAGE: docker:19.03
      REGISTRATION_TOKEN: "${REGISTRATION_TOKEN}"
      RUNNER_NAME: "${RUNNER_NAME}"
nimrod's avatar
nimrod committed
      RUNNER_TAG_LIST: "${RUNNER_NAME}"
    image: adarnimrod/gitlab-runner
    restart: always
    volumes:
      - config:/etc/gitlab-runner
      - /var/run/docker.sock:/var/run/docker.sock
nimrod's avatar
nimrod committed
  crond:
    build:
      context: crond/
    volumes:
      - /run/docker.sock:/run/docker.sock

volumes:
  config:

networks:
  default:
    name: shore