version: "3.2" services: runner: image: gitlab/gitlab-runner:latest container_name: gitlab_runner restart: unless-stopped volumes: - /var/run/docker.sock:/var/run/docker.sock - /opt/services:/opt/services - ./config:/etc/gitlab-runner