Files
custom-portainer-configurat…/templates/gitea-runner/docker-compose.yml

15 lines
552 B
YAML

services:
act_runner:
image: docker.io/gitea/act_runner:latest
container_name: gitea_runner
restart: unless-stopped
environment:
- GITEA_INSTANCE_URL=YPOUR_GITEA_INSTANCE_URL_HERE
- GITEA_RUNNER_REGISTRATION_TOKEN=YOUR_RUNNER_REGISTRATION_TOKEN_HERE
- GITEA_RUNNER_NAME=solo-runner
- GITEA_RUNNER_LABELS=ubuntu-latest:docker://catthehacker/ubuntu:act-latest
volumes:
- /volume1/docker/gitea-runner:/data
- /var/run/docker.sock:/var/run/docker.sock # This allows the runner to start containers