Set "/Rancher" as base data directory

This commit is contained in:
William Miceli
2019-05-10 22:42:54 -04:00
parent 67a6039f88
commit 6499c537f7

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
- /RancherCattle/${DATA_DIR}:/etc/gitlab-runner - /Rancher/${DATA_DIR}:/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,4 @@ services:
restart: always restart: always
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- /RancherCattle/${DATA_DIR}:/etc/gitlab-runner - /Rancher/${DATA_DIR}:/etc/gitlab-runner