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
|
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:
|
||||||
|
|
Loading…
Reference in a new issue