initial commit
This commit is contained in:
commit
9295b7cfb3
1 changed files with 19 additions and 0 deletions
19
docker-compose.yaml
Normal file
19
docker-compose.yaml
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
services:
|
||||||
|
docker:
|
||||||
|
image: docker:dind
|
||||||
|
privileged: true
|
||||||
|
volumes:
|
||||||
|
- certs:/certs
|
||||||
|
|
||||||
|
runner:
|
||||||
|
image: code.forgejo.org/forgejo/runner:6.2.2
|
||||||
|
environment:
|
||||||
|
DOCKER_HOST: tcp://docker:2376
|
||||||
|
DOCKER_TLS_VERIFY: 1
|
||||||
|
DOCKER_CERT_PATH: /certs/client
|
||||||
|
volumes:
|
||||||
|
- ./forgejo-runner:/data
|
||||||
|
- certs:/certs
|
||||||
|
command: 'forgejo-runner --config config.yml daemon'
|
||||||
|
volumes:
|
||||||
|
certs:
|
||||||
Loading…
Add table
Reference in a new issue