Skip to content
Snippets Groups Projects
Commit 8f95098a authored by nimrod's avatar nimrod
Browse files

builds volume.

Needed for easier mounting using `--volumes-from` to acces the files
when running another container (launching a container from inside a
container, for an example see the CI from
https://git.shore.co.il/nimrod/resume).
parent dfc42dda
No related branches found
No related tags found
No related merge requests found
...@@ -14,6 +14,7 @@ services: ...@@ -14,6 +14,7 @@ services:
image: adarnimrod/gitlab-runner image: adarnimrod/gitlab-runner
restart: always restart: always
volumes: volumes:
- builds:/builds
- config:/etc/gitlab-runner - config:/etc/gitlab-runner
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
crond: crond:
...@@ -23,6 +24,7 @@ services: ...@@ -23,6 +24,7 @@ services:
- /run/docker.sock:/run/docker.sock - /run/docker.sock:/run/docker.sock
volumes: volumes:
builds:
config: config:
networks: networks:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment