# act_runner — Gitea Actions self-hosted runner # Deploy on the machine running Gitea (same host). # Registers at instance level — services all repos. # # Uses host execution mode — jobs run directly on the host machine, # so Docker commands work natively without socket passthrough complexity. # # Setup: # 1. Gitea → Site Administration → Actions → Runners → Create Runner → copy token # 2. Add RUNNER_TOKEN to Portainer stack environment variables # 3. Deploy stack services: act-runner: image: gitea/act_runner:latest container_name: act-runner restart: unless-stopped environment: - GITEA_INSTANCE_URL=https://git.thewichersfamily.com - GITEA_RUNNER_REGISTRATION_TOKEN=${RUNNER_TOKEN} - GITEA_RUNNER_NAME=homelab-pi5 # host mode: jobs run directly on this machine — Docker is available natively - GITEA_RUNNER_LABELS=ubuntu-latest:host,ubuntu-22.04:host volumes: - /var/run/docker.sock:/var/run/docker.sock - act_runner_data:/data volumes: act_runner_data: