Commit e196d16d authored by Kevin Daudt's avatar Kevin Daudt 💻

compose: mount gitlab-runner config as volume

Instead of mounting it on the host, use docker volumes so that it's
easier to run multiple runners without running into a naming conflict.
parent 77871246
Pipeline #6648 passed with stage
in 29 seconds
......@@ -4,8 +4,8 @@ services:
image: alpinelinux/gitlab-runner:latest
restart: always
volumes:
- /etc/gitlab-runner
- ./profiles:/data/profiles
- /srv/docker/gitlab-runner-${ALPINE_ARCH}/conf:/etc/gitlab-runner
- /var/run/docker.sock:/var/run/docker.sock
environment:
- GITLAB_REGISTRATION_TOKEN_SHARED
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment