Changed what container owns the volumes
This commit is contained in:
@@ -35,9 +35,8 @@ services:
|
|||||||
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
traefik.enable: false
|
traefik.enable: false
|
||||||
volumes:
|
volumes_from:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- gitlab-runner-config
|
||||||
- /RancherCattle/${DATA_DIR}:/etc/gitlab-runner
|
|
||||||
gitlab-runner:
|
gitlab-runner:
|
||||||
image: gitlab/gitlab-runner:alpine
|
image: gitlab/gitlab-runner:alpine
|
||||||
command:
|
command:
|
||||||
@@ -54,5 +53,6 @@ services:
|
|||||||
io.rancher.sidekicks: gitlab-runner-config
|
io.rancher.sidekicks: gitlab-runner-config
|
||||||
traefik.enable: false
|
traefik.enable: false
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
volumes_from:
|
volumes:
|
||||||
- gitlab-runner-config
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
- /RancherCattle/${DATA_DIR}:/etc/gitlab-runner
|
||||||
Reference in New Issue
Block a user