Implement second gitlab runner
This commit is contained in:
parent
4b2fc18d8e
commit
98f97bb316
@ -81,9 +81,22 @@ services:
|
|||||||
- traefik.http.routers.gitlab-registry.tls.certresolver=lets-encrypt
|
- traefik.http.routers.gitlab-registry.tls.certresolver=lets-encrypt
|
||||||
- traefik.http.routers.gitlab-registry.service=gitlab-registry
|
- traefik.http.routers.gitlab-registry.service=gitlab-registry
|
||||||
- traefik.http.services.gitlab-registry.loadbalancer.server.port=5000
|
- traefik.http.services.gitlab-registry.loadbalancer.server.port=5000
|
||||||
gitlab-runner:
|
|
||||||
|
gitlab-runner-0:
|
||||||
image: 'gitlab/gitlab-runner:latest'
|
image: 'gitlab/gitlab-runner:latest'
|
||||||
container_name: gitlab_runner
|
container_name: gitlab_runner_0
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
- GODEBUG="x509ignoreCN=0"
|
||||||
|
volumes:
|
||||||
|
- ${DOCKER_DATA}/runner-config:/etc/gitlab-runner
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
labels:
|
||||||
|
- traefik.enable=false
|
||||||
|
|
||||||
|
gitlab-runner-1:
|
||||||
|
image: 'gitlab/gitlab-runner:latest'
|
||||||
|
container_name: gitlab_runner_1
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- GODEBUG="x509ignoreCN=0"
|
- GODEBUG="x509ignoreCN=0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user