From 7a9221a3a471bb6dcf589647582fc8ea01935e00 Mon Sep 17 00:00:00 2001 From: sneakers-the-rat Date: Sat, 29 Jun 2024 01:03:48 -0700 Subject: [PATCH] bind mount in runner --- forgejo/runner/docker-compose.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/forgejo/runner/docker-compose.yaml b/forgejo/runner/docker-compose.yaml index 6bcf0c5..d67b477 100644 --- a/forgejo/runner/docker-compose.yaml +++ b/forgejo/runner/docker-compose.yaml @@ -5,11 +5,17 @@ services: image: docker:dind container_name: 'docker_dind' privileged: 'true' - command: ['dockerd', '-H', 'tcp://0.0.0.0:2375', '--tls=false'] + command: + - 'dockerd' + - '-v' + - '/artifacts:/artifacts' + - '-H' + - 'tcp://0.0.0.0:2375' + - '--tls=false' restart: 'unless-stopped' volumes: - /home/forgejo-runner/artifacts:/artifacts - + gitea: image: 'code.forgejo.org/forgejo/runner:3.4.1' links: