From 144678354ff7edf0f665eaf7ab002a6c09aa0d39 Mon Sep 17 00:00:00 2001 From: Hermes Date: Sun, 10 May 2026 21:38:19 -0400 Subject: [PATCH] feat: add Gitea Actions runner and enable Actions --- versioncontrol/compose.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/versioncontrol/compose.yml b/versioncontrol/compose.yml index 7e7b54e..ac30373 100644 --- a/versioncontrol/compose.yml +++ b/versioncontrol/compose.yml @@ -7,6 +7,8 @@ services: - USER_UID=1000 - USER_GID=1000 - GITEA__server__ROOT_URL=https://code.lazyworkhorse.net + - GITEA__actions__ENABLED=true + - GITEA__actions__DEFAULT_ACTIONS_URL=off - SSH_PORT=2222 - SSH_LISTEN_PORT=2222 volumes: @@ -40,6 +42,22 @@ services: # Internal Routing - "traefik.http.services.gitea.loadbalancer.server.port=3000" + act_runner: + image: gitea/act_runner:latest + container_name: act_runner + environment: + - GITEA_INSTANCE_URL=https://code.lazyworkhorse.net + - GITEA_RUNNER_REGISTRATION_TOKEN=${GITEA_RUNNER_TOKEN} + - GITEA_RUNNER_NAME=ai-host-runner + - GITEA_RUNNER_LABELS=ubuntu-latest:docker://catthehacker/ubuntu:full-22.04 + volumes: + - /var/run/docker.sock:/var/run/docker.sock + networks: + - vc_net + restart: always + depends_on: + - gitea + networks: vc_net: external: true