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