store: Gitea Actions runner container setup with auth and config

This commit is contained in:
Cal Corum 2026-02-18 11:59:44 -06:00
parent cabbfbe2ae
commit f49696f59d

View File

@ -0,0 +1,21 @@
---
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-18T17:59:44.775090+00:00"
---
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.