replace woodpecker-ci with gitea-act-runner #166
1 changed files with 16 additions and 0 deletions
16
docker-compose/act_runner/docker-compose.yml.j2
Normal file
16
docker-compose/act_runner/docker-compose.yml.j2
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
---
|
||||||
|
# https://gitea.com/gitea/act_runner/src/branch/main/examples/docker-compose
|
||||||
|
version: "3.7"
|
||||||
|
services:
|
||||||
|
runner:
|
||||||
|
image: gitea/act_runner
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- act_runner_data:/data
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
environment:
|
||||||
|
- GITEA_INSTANCE_URL=git.mgrote.net
|
||||||
|
- GITEA_RUNNER_REGISTRATION_TOKEN="{{ lookup('viczem.keepass.keepass', 'woodpecker-oauth2-client-id', 'password') }}"
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
act_runner_data:
|
Loading…
Reference in a new issue