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