version: '3.8' services: gitlab-runner: image: gitlab/gitlab-runner:alpine container_name: gitlab-runner restart: always volumes: - /var/run/docker.sock:/var/run/docker.sock - ./config:/etc/gitlab-runner networks: - central_dogma networks: central_dogma: external: true # <--- To mówi: "nie twórz nowej sieci, podepnij się pod tę, którą stworzył GitLab"