Compare commits

...

1 commit

Author SHA1 Message Date
a9e044d2da
Add example docker compose + README File
All checks were successful
docker
2023-03-24 14:38:13 +01:00
2 changed files with 19 additions and 0 deletions

View file

@ -1,2 +1,13 @@
# runner-docker # runner-docker
Use this to register the runner
```bash
docker run -it -v $(pwd)/runner.conf:/app/.runner git.itzyanick.de/itzyanick/runner-docker:v1.1.0-2 ./forgejo-runner register
```
Then run the runner
```bash
docker compose up -d
```

8
docker-compose.yml Normal file
View file

@ -0,0 +1,8 @@
version: "3.7"
services:
runner:
image: git.itzyanick.de/itzyanick/runner-docker:v1.1.0-2
restart: unless-stopped
volumes:
- "./runner.conf:/app/.runner"
- "/var/run/docker.sock:/var/run/docker.sock"