Files

27 lines
842 B
YAML
Raw Permalink Normal View History

# Gitea Actions runner for this repository, on the dev server.
#
# First start (registers the runner; the token is only needed once):
# GITEA_RUNNER_REGISTRATION_TOKEN=... docker compose up -d
# Afterwards: docker compose up -d
2026-11-16 19:59:49 +00:00
name: sorsfonalak-runner
services:
runner:
image: gitea/act_runner:0.6.1
environment:
CONFIG_FILE: /config.yaml
GITEA_INSTANCE_URL: ${GITEA_INSTANCE_URL:-http://10.0.0.114:30008}
GITEA_RUNNER_REGISTRATION_TOKEN: ${GITEA_RUNNER_REGISTRATION_TOKEN:-}
GITEA_RUNNER_NAME: ${GITEA_RUNNER_NAME:-dev-195}
volumes:
- ./config.yaml:/config.yaml:ro
# Registration (.runner) lives here.
- runner-data:/data
# Job containers are started on the host daemon.
- /var/run/docker.sock:/var/run/docker.sock
restart: unless-stopped
volumes:
runner-data: