Forgejo Runner
See documentation on configuring Forgejo runners here
---
services:
docker:
image: docker:dind
container_name: docker
privileged: true
volumes:
- ./certs:/certs
forgejo-runner:
image: code.forgejo.org/forgejo/runner
container_name: forgejo-runner
depends_on:
- docker
environment:
DOCKER_HOST: tcp://docker:2376
DOCKER_TLS_VERIFY: 1
DOCKER_CERT_PATH: /certs/client
volumes:
- ./:/data
- ./certs:/certs
expose:
- "8080"
command: 'forgejo-runner --config config.yml daemon'
volumes:
certs: