serversetups/docker-compose-files/gitea-act-runner-docker-com...

14 lines
435 B
YAML

version: "3.8"
services:
runner:
image: gitea/act_runner:latest
environment:
CONFIG_FILE: /config.yaml
GITEA_INSTANCE_URL: "https://gitea.mikepziegler.com"
GITEA_RUNNER_REGISTRATION_TOKEN: "[token from gitea]"
GITEA_RUNNER_NAME: "runner-1"
GITEA_RUNNER_LABELS: "ubuntu-latest"
volumes:
- ./config.yaml:/config.yaml
- ./data:/data
- /var/run/docker.sock:/var/run/docker.sock