Docker socket no longer possible on GitLab Runner v11.11+; Changed back to ephemeral volumes
This commit is contained in:
@@ -40,10 +40,9 @@ services:
|
|||||||
{{- end}}
|
{{- end}}
|
||||||
traefik.enable: false
|
traefik.enable: false
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
|
||||||
- /etc/localtime:/etc/localtime:ro # Syncronize time of container with the host system
|
- /etc/localtime:/etc/localtime:ro # Syncronize time of container with the host system
|
||||||
- /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system
|
- /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system
|
||||||
- /Persistent/${DATA_DIR}:/etc/gitlab-runner
|
- GitLab-Runner:/etc/gitlab-runner
|
||||||
gitlab-runner:
|
gitlab-runner:
|
||||||
image: gitlab/gitlab-runner:alpine # Alpine Linux image is designed to use only Docker as the method of spawning runners
|
image: gitlab/gitlab-runner:alpine # Alpine Linux image is designed to use only Docker as the method of spawning runners
|
||||||
command:
|
command:
|
||||||
@@ -62,7 +61,10 @@ services:
|
|||||||
privileged: true
|
privileged: true
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
|
||||||
- /etc/localtime:/etc/localtime:ro # Syncronize time of container with the host system
|
- /etc/localtime:/etc/localtime:ro # Syncronize time of container with the host system
|
||||||
- /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system
|
- /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system
|
||||||
- /Persistent/${DATA_DIR}:/etc/gitlab-runner
|
- GitLab-Runner:/etc/gitlab-runner
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
GitLab-Runner:
|
||||||
|
driver: local
|
||||||
|
|||||||
Reference in New Issue
Block a user