docker-compose.yml 343 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
version: '2'
services:
  gitlab-runner:
    image: "gitlab/gitlab-runner:latest"
    restart: always
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - /srv/gitlab-runner/config:/etc/gitlab-runner
    network_mode: "bridge"
    command: ["--debug", "run", "--user=gitlab-runner", "--working-directory=/home/gitlab-runner"]