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 diff --git a/templates/GitLab-Runner/0/rancher-compose.yml b/templates/GitLab-Runner/0/rancher-compose.yml index b1d6e51..7c97e45 100644 --- a/templates/GitLab-Runner/0/rancher-compose.yml +++ b/templates/GitLab-Runner/0/rancher-compose.yml @@ -13,7 +13,7 @@ catalog: label: "Host Label Key/Value Pair" description: | (Optional) The Key/Value pair of the host which the stack should be deployed. - default: "host.id=Host2" + default: "host.id=Host1" required: false type: string