Add act_runner setup (Docker Compose) for octowow.st
CI / build-and-smoke (push) Failing after 37s

This commit is contained in:
2026-06-25 22:16:17 -05:00
parent 8bef637053
commit c414984ba3
4 changed files with 102 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
# act_runner for octowow.st, run as a container (Docker Compose).
# Copy this folder to the runner host, fill in .env (see .env.example),
# then: docker compose up -d
#
# The runner auto-registers on first start using the env vars below, then
# persists its credentials in ./data so restarts don't re-register.
services:
act_runner:
image: gitea/act_runner:latest
container_name: octo-act-runner
restart: always
environment:
# Gitea base URL — note the /git path on this instance.
GITEA_INSTANCE_URL: https://octowow.st/git
# Registration token from Settings -> Actions -> Runners -> "Create new Runner".
GITEA_RUNNER_REGISTRATION_TOKEN: ${RUNNER_TOKEN}
GITEA_RUNNER_NAME: ${RUNNER_NAME:-octo-runner}
# runs-on label -> image mapping. ubuntu-latest uses the de-facto act image.
GITEA_RUNNER_LABELS: ubuntu-latest:docker://catthehacker/ubuntu:act-latest
volumes:
# Host Docker socket: act_runner spawns job/action containers as siblings.
# On Docker Desktop (Windows/Mac) this path is provided by the Linux engine.
- /var/run/docker.sock:/var/run/docker.sock
# Persist runner registration + state.
- ./data:/data