From 1299ed3b97b9203cef820ebb25dc4555ac43e237 Mon Sep 17 00:00:00 2001 From: shockrah Date: Fri, 16 Aug 2024 16:39:05 -0700 Subject: [PATCH] New docker compose with the gitea runner --- infra/containers/docker-compose.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/infra/containers/docker-compose.yaml b/infra/containers/docker-compose.yaml index 5cc5ca4..7650580 100644 --- a/infra/containers/docker-compose.yaml +++ b/infra/containers/docker-compose.yaml @@ -20,3 +20,21 @@ services: ports: - "3000:3000" - "2222:22" + gitea-runner: + image: gitea/act_runner:nightly + container_name: gitea-runner + restart: always + networks: + - gitea + volumes: + - /opt/containers/gitea_runner/ + - /var/run/docker.sock:/var/run/docker.sock + environment: + - GITEA_INSTANCE_URL=https://git.shockrah.xyz + - GITEA_RUNNER_NAME=gitea-main + - GITEA_RUNNER_LABELS=gitea-main + - GITEA_RUNNER_REGISTRATION_TOKEN=${token} + + + +