Files
cluster-knaster/deploy/gitea-runner/docker-compose.yml
T
rorappandClaude Opus 5.5 d04148e41c
ci / compose (push) Failing after 3s
ci / test (push) Canceled after 3m5s
deploy: Gitea Actions Runner (act_runner, ressourcenbegrenzt)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 01:16:53 +02:00

25 lines
913 B
YAML

# Gitea Actions Runner (act_runner) für cluster-knaster.
# Bewusst klein: 1 Job gleichzeitig, Job-Container auf 1 CPU / 2 GB begrenzt.
# Registrierung nur auf Repo-Ebene (cluster-knaster → Einstellungen → Actions → Runner → Token).
name: gitea-runner
services:
act-runner:
image: gitea/act_runner:0.2.11
restart: unless-stopped
environment:
GITEA_INSTANCE_URL: ${GITEA_INSTANCE_URL:-https://gitea.mindboost.team}
GITEA_RUNNER_REGISTRATION_TOKEN: ${GITEA_RUNNER_REGISTRATION_TOKEN:?Registrierungs-Token fehlt}
GITEA_RUNNER_NAME: ${GITEA_RUNNER_NAME:-knaster-runner}
CONFIG_FILE: /config.yaml
volumes:
- ./config.yaml:/config.yaml:ro
- runner-data:/data
- /var/run/docker.sock:/var/run/docker.sock # startet die Job-Container auf diesem Host
deploy:
resources:
limits: {cpus: "0.5", memory: 256M}
volumes:
runner-data: {}