Feat: Fügt Konfiguration hinzu

This commit is contained in:
2026-06-08 17:29:40 +02:00
parent 6e28928b0e
commit f42d25cb08
5 changed files with 33 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
INSTANCE_URL=https://gitea.creative-dragonslayer.de
REGISTRATION_TOKEN=ABC
RUNNER_NAME=gitea_main
RUNNER_LABELS=
+2
View File
@@ -0,0 +1,2 @@
.vscode
.env
View File
+14
View File
@@ -0,0 +1,14 @@
{
"WARNING": "This file is automatically generated by Gitea Runner. Do not edit it manually unless you know what you are doing. Removing this file will cause Gitea Runner to re-register as a new runner.",
"id": 1,
"uuid": "b3c25705-94ae-439f-b97b-3f7abbba42f9",
"name": "gitea_main",
"token": "941bcb1012e83d49063c809fb49036abb30f79a6",
"address": "https://gitea.creative-dragonslayer.de",
"labels": [
"ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest",
"ubuntu-24.04:docker://docker.gitea.com/runner-images:ubuntu-24.04",
"ubuntu-22.04:docker://docker.gitea.com/runner-images:ubuntu-22.04"
],
"ephemeral": false
}
+13
View File
@@ -0,0 +1,13 @@
services:
runner:
image: docker.io/gitea/runner:latest
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