Files
leggenda-del-regolo/tools/gitea-runner/docker-compose.yml
T

20 lines
904 B
YAML

# Runner delle Gitea Actions di git.manzolo.it, sul PC di Andrea (dal 2026-11-01). Si crea e si avvia con
# `make runner` (scripts/runner.sh): registra il runner sul repo se manca e lo lascia acceso (riparte con Docker).
# I job girano in container fratelli tramite il socket Docker del PC; le credenziali del runner stanno fuori dal repo.
name: gitea-runner
services:
runner:
image: gitea/act_runner:0.6.1
container_name: gitea-runner
restart: unless-stopped
environment:
CONFIG_FILE: /config.yaml
GITEA_INSTANCE_URL: https://git.manzolo.it
GITEA_RUNNER_REGISTRATION_TOKEN: ${GITEA_RUNNER_REGISTRATION_TOKEN:-}
GITEA_RUNNER_NAME: ${GITEA_RUNNER_NAME:-pc-andrea}
GITEA_RUNNER_LABELS: ubuntu-latest:docker://node:22-bookworm
volumes:
- ./config.yaml:/config.yaml:ro
- ${RUNNER_DATA:?}:/data
- /var/run/docker.sock:/var/run/docker.sock