add: gitea & gitea-runner

This commit is contained in:
2024-07-22 16:30:11 +00:00
parent b19d67f69c
commit bd79b34de2
4 changed files with 77 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
version: "3.8"
services:
runner:
image: gitea/act_runner:nightly
environment:
CONFIG_FILE: /config.yaml
GITEA_INSTANCE_URL: "https://git.athq.de"
GITEA_RUNNER_REGISTRATION_TOKEN: "{{ gitea_runner_registration_token }}"
GITEA_RUNNER_NAME: "atlantis-runner"
GITEA_RUNNER_LABELS: "ubuntu-latest,atlantis"
volumes:
- /data/gitea-runner/config.yaml:/config.yaml
- /data/gitea-runner/data:/data
- /var/run/docker.sock:/var/run/docker.sock