Feat: Add Gitea Runner configuration
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 6m5s
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 6m5s
This commit is contained in:
21
runner/docker-compose.yml
Normal file
21
runner/docker-compose.yml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
services:
|
||||||
|
runner:
|
||||||
|
image: gitea/act_runner:latest
|
||||||
|
container_name: clawdbot-runner
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
# URL of your Gitea instance
|
||||||
|
- GITEA_INSTANCE_URL=https://gitea.lemarechal.eu
|
||||||
|
# Token obtained from Gitea > Site Administration > Actions > Runners > Create Logger
|
||||||
|
# OR Repository > Settings > Actions > Runners
|
||||||
|
- GITEA_RUNNER_REGISTRATION_TOKEN=${RUNNER_TOKEN}
|
||||||
|
- GITEA_RUNNER_NAME=internal-runner
|
||||||
|
# Default labels
|
||||||
|
- GITEA_RUNNER_LABELS=ubuntu-latest:docker://node:22-bookworm,ubuntu-22.04:docker://node:16-bullseye
|
||||||
|
volumes:
|
||||||
|
# Persist configuration and data
|
||||||
|
- ./data:/data
|
||||||
|
# Allow launching sibling containers for builds
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
Reference in New Issue
Block a user