From 0cbc84d4777c02c779e23314b569cccdfc85520e Mon Sep 17 00:00:00 2001 From: Dominik Klarkowski Date: Sun, 16 Nov 2025 11:04:19 +0100 Subject: [PATCH] init gitea runner docker-compose --- gitea-runner/.env | 4 ++++ gitea-runner/docker-compose.yaml | 14 ++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 gitea-runner/.env create mode 100644 gitea-runner/docker-compose.yaml diff --git a/gitea-runner/.env b/gitea-runner/.env new file mode 100644 index 0000000..577dc34 --- /dev/null +++ b/gitea-runner/.env @@ -0,0 +1,4 @@ +INSTANCE_URL=https://git.klarkowski.pl +REGISTRATION_TOKEN=3TuyBfoSZEc9uPaAbSycBczSHtRGLWYgGkFg19NA +RUNNER_NAME=okrzejka-runner +RUNNER_LABELS=docker \ No newline at end of file diff --git a/gitea-runner/docker-compose.yaml b/gitea-runner/docker-compose.yaml new file mode 100644 index 0000000..bc87be3 --- /dev/null +++ b/gitea-runner/docker-compose.yaml @@ -0,0 +1,14 @@ +version: "3.8" +services: + runner: + image: docker.io/gitea/act_runner:nightly + environment: + CONFIG_FILE: /config.yaml + GITEA_INSTANCE_URL: "${INSTANCE_URL}" + GITEA_RUNNER_REGISTRATION_TOKEN: "${REGISTRATION_TOKEN}" + GITEA_RUNNER_NAME: "${RUNNER_NAME}" + GITEA_RUNNER_LABELS: "${RUNNER_LABELS}" + volumes: + - ./config.yaml:/config.yaml + - ./data:/data + - /var/run/docker.sock:/var/run/docker.sock \ No newline at end of file