Socket mount may be needed
This commit is contained in:
@@ -37,6 +37,7 @@ services:
|
|||||||
{{- end}}
|
{{- end}}
|
||||||
traefik.enable: false
|
traefik.enable: false
|
||||||
volumes:
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- /RancherCattle/${DATA_DIR}:/etc/gitlab-runner
|
- /RancherCattle/${DATA_DIR}:/etc/gitlab-runner
|
||||||
gitlab-runner:
|
gitlab-runner:
|
||||||
image: gitlab/gitlab-runner:alpine
|
image: gitlab/gitlab-runner:alpine
|
||||||
@@ -56,4 +57,5 @@ services:
|
|||||||
privileged: true # Required for Docker-in-Docker
|
privileged: true # Required for Docker-in-Docker
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
volumes:
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- /RancherCattle/${DATA_DIR}:/etc/gitlab-runner
|
- /RancherCattle/${DATA_DIR}:/etc/gitlab-runner
|
||||||
|
|||||||
Reference in New Issue
Block a user