diff --git a/runner/docker-compose.yml b/runner/docker-compose.yml new file mode 100644 index 0000000..5c67a0e --- /dev/null +++ b/runner/docker-compose.yml @@ -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