Add gitea runner
This commit is contained in:
parent
8377b02017
commit
4b1a4115d8
12
gitea-runner.yaml
Normal file
12
gitea-runner.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
services:
|
||||||
|
runner:
|
||||||
|
image: docker.io/gitea/act_runner:latest
|
||||||
|
container_name: gitea-runner
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
GITEA_INSTANCE_URL: https://git.example.com
|
||||||
|
GITEA_RUNNER_REGISTRATION_TOKEN: <TOKEN>
|
||||||
|
GITEA_RUNNER_NAME: <NAME>
|
||||||
|
volumes:
|
||||||
|
- ./gitea-runner/data:/data
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
Loading…
x
Reference in New Issue
Block a user