docker-compose.yml 360 Bytes
Newer Older
1
version: "3"
2 3 4
services:
  gitlab-runner:
    build: .
5 6
    image: alpinelinux/gitlab-runner:latest
    restart: always
7 8 9 10
    volumes:
      - /srv/gitlab-runner/conf:/etc/gitlab-runner
      - /srv/gitlab-runner/home:/home/gitlab-runner
      - /var/run/docker.sock:/var/run/docker.sock
11 12 13
    environment:
      GITLAB_REGISTRATION_TOKEN: <token>
      ARCH: <arch>