claude-memory/graph/configurations/gitea-actions-runner-container-setup-with-auth-and-config-48ad98.md
2026-02-18 12:00:00 -06:00

28 lines
1.4 KiB
Markdown

---
id: 48ad98e0-6903-40d9-b398-37d02efdc5e7
type: configuration
title: "Gitea Actions runner container setup with auth and config"
tags: [gitea, ci-cd, actions, runner, docker, homelab, lxc-225, configuration]
importance: 0.8
confidence: 0.8
created: "2026-02-18T17:59:44.775090+00:00"
updated: "2026-02-18T18:00:00.130209+00:00"
relations:
- target: 53328fc9-796a-47b7-81ae-fc57c9b3a202
type: REQUIRES
direction: incoming
strength: 0.8
context: "Solution requires this runner configuration to work"
---
Full docker run command for the Gitea Actions runner on LXC 225:
docker run -d --name gitea-runner --restart unless-stopped -v /var/run/docker.sock:/var/run/docker.sock -v gitea-runner-data:/data -v /etc/gitea/runner-netrc:/root/.netrc:ro -v /etc/gitea/runner-config.yaml:/config.yaml:ro -e GITEA_INSTANCE_URL=http://10.10.0.225:3000 -e GITEA_RUNNER_REGISTRATION_TOKEN=RJPqrmYLD2uFfPFER9m6jSPXDho2Y6SXi7EAZYa0 gitea/act_runner:latest daemon --config /config.yaml
Files on host (LXC 225):
- /etc/gitea/runner-netrc: .netrc with cal token for git.manticorum.com and 10.10.0.225
- /etc/gitea/runner-config.yaml: act_runner config with container.options: --add-host=git.manticorum.com:host-gateway
- /etc/gitea/app.ini: Gitea config (REQUIRE_SIGNIN_VIEW=true)
The runner registration data persists in the gitea-runner-data Docker volume at /data/.runner.