added act runner deployment

This commit is contained in:
2024-08-21 22:20:09 +02:00
parent a22321db83
commit 0782ad658d
4 changed files with 119 additions and 0 deletions

12
docker-compose.yml Normal file
View File

@@ -0,0 +1,12 @@
---
services:
runner:
image:
environment:
- CONFIG_FILE=/config.yaml
- GITEA_INSTANCE_URL="${GITEA_URL}"
- GITEA_RUNNER_REGISTRATION_TOKEN="${GITEA_TOKEN}"
- GITEA_RUNNER_NAME="${ACT_NAME}"
volumes:
- ${ACT_DATA}/config.yaml:/config.yaml
- /var/run/docker.sock:/var/run/docker.sock