Testing using a volume

This commit is contained in:
William Miceli
2019-06-14 19:05:53 -04:00
parent b2fc8cd006
commit da059478c0

View File

@@ -41,7 +41,7 @@ services:
traefik.enable: false traefik.enable: false
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- /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:
@@ -61,4 +61,8 @@ services:
restart: always restart: always
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- /Persistent/${DATA_DIR}:/etc/gitlab-runner - GitLab-Runner:/etc/gitlab-runner
volumes:
GitLab-Runner:
driver: local