bind mount in runner
This commit is contained in:
parent
8fc4bf6014
commit
7a9221a3a4
1 changed files with 8 additions and 2 deletions
|
@ -5,7 +5,13 @@ 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
|
||||
|
|
Loading…
Reference in a new issue