From d6ebe3ab191d47f574aa2717b4bb2a9ef2143919 Mon Sep 17 00:00:00 2001 From: Stevan Freeborn <65925598+StevanFreeborn@users.noreply.github.com> Date: Sun, 28 Jun 2026 14:48:58 -0500 Subject: [PATCH] chore: initial commit --- .gitignore | 4 ++++ compose.yml | 14 ++++++++++++++ example.env | 4 ++++ 3 files changed, 22 insertions(+) create mode 100644 .gitignore create mode 100644 compose.yml create mode 100644 example.env diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..feb2b9f --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.env* +!example.env +data/ +config.yaml diff --git a/compose.yml b/compose.yml new file mode 100644 index 0000000..bdab364 --- /dev/null +++ b/compose.yml @@ -0,0 +1,14 @@ +services: + runner: + image: docker.io/gitea/act_runner:latest + restart: always + 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 diff --git a/example.env b/example.env new file mode 100644 index 0000000..9329144 --- /dev/null +++ b/example.env @@ -0,0 +1,4 @@ +INSTANCE_URL= +REGISTRATION_TOKEN= +RUNNER_NAME= +RUNNER_LABELS=