Files
cargoxx-pkgs/runner/compose.yml
Amadey Vorontsov f42469e225
Some checks failed
validate-pr / validate (pull_request) Failing after 4s
runner: add nodejs to job image; fetch-depth=0 for diff base
2026-05-18 17:49:57 +00:00

20 lines
828 B
YAML

# Runs the act_runner that listens to Gitea and spawns one job
# container per workflow run. The job image (cargoxx-runner-job:latest)
# is built reproducibly from runner/flake.nix — run `nix run .#load-image`
# in this directory to load it into the host's Docker daemon before
# starting the runner.
services:
runner:
image: docker.io/gitea/act_runner:nightly
restart: unless-stopped
environment:
CONFIG_FILE: /config.yaml
GITEA_INSTANCE_URL: "${GITEA_INSTANCE_URL}"
GITEA_RUNNER_REGISTRATION_TOKEN: "${GITEA_RUNNER_REGISTRATION_TOKEN}"
GITEA_RUNNER_NAME: "${GITEA_RUNNER_NAME:-cargoxx-pkgs-runner}"
GITEA_RUNNER_LABELS: "${GITEA_RUNNER_LABELS:-self-hosted}"
volumes:
- ./config.yaml:/config.yaml:ro
- ./data:/data
- /var/run/docker.sock:/var/run/docker.sock