From da059478c001cf14e24128fc0860bd0397f6eff7 Mon Sep 17 00:00:00 2001 From: William Miceli <1-WilliamMiceli@git.williammiceli.systems> Date: Fri, 14 Jun 2019 19:05:53 -0400 Subject: [PATCH] Testing using a volume --- templates/GitLab-Runner/0/docker-compose.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/templates/GitLab-Runner/0/docker-compose.yml b/templates/GitLab-Runner/0/docker-compose.yml index baca54e..8816116 100644 --- a/templates/GitLab-Runner/0/docker-compose.yml +++ b/templates/GitLab-Runner/0/docker-compose.yml @@ -41,7 +41,7 @@ services: traefik.enable: false volumes: - /var/run/docker.sock:/var/run/docker.sock - - /Persistent/${DATA_DIR}:/etc/gitlab-runner + - GitLab-Runner:/etc/gitlab-runner gitlab-runner: image: gitlab/gitlab-runner:alpine # Alpine Linux image is designed to use only Docker as the method of spawning runners command: @@ -61,4 +61,8 @@ services: restart: always volumes: - /var/run/docker.sock:/var/run/docker.sock - - /Persistent/${DATA_DIR}:/etc/gitlab-runner + - GitLab-Runner:/etc/gitlab-runner + +volumes: + GitLab-Runner: + driver: local \ No newline at end of file