bind mount in runner
Some checks failed
/ test (push) Failing after 0s
/ test2 (push) Successful in 0s

This commit is contained in:
sneakers-the-rat 2024-06-29 01:03:48 -07:00
parent 8fc4bf6014
commit 7a9221a3a4
Signed by untrusted user who does not match committer: jonny
GPG key ID: 6DCB96EF1E4D232D

View file

@ -5,11 +5,17 @@ services:
image: docker:dind image: docker:dind
container_name: 'docker_dind' container_name: 'docker_dind'
privileged: 'true' 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' restart: 'unless-stopped'
volumes: volumes:
- /home/forgejo-runner/artifacts:/artifacts - /home/forgejo-runner/artifacts:/artifacts
gitea: gitea:
image: 'code.forgejo.org/forgejo/runner:3.4.1' image: 'code.forgejo.org/forgejo/runner:3.4.1'
links: links: