docker-composeでもう一つGitLabRunner?を立ち上げる
手順をメモしていく
gitlab-runner:
image: gitlab/gitlab-runner:latest
container_name: gitlab-runner
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /root/gitlab/gitlab-runner-config:/etc/gitlab-runner
ports:
- "8093:8093"
gitlab-runner-2:
image: gitlab/gitlab-runner:latest
container_name: gitlab-runner-2
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /root/gitlab/gitlab-runner-config-2:/etc/gitlab-runner
ports:
- "8094:8093"