Files
server_config/gitea/compose-runner.yml

23 lines
554 B
YAML

networks:
runner_net:
external: true
volumes:
runner-data:
services:
runner:
image: gitea/act_runner:latest
container_name: gitea-runner
restart: always
environment:
GITEA_INSTANCE_URL: http://gitea:3000
GITEA_RUNNER_REGISTRATION_TOKEN: ${RUNNER_TOKEN}
GITEA_RUNNER_NAME: docker-runner
GITEA_RUNNER_LABELS: "docker:docker,ubuntu-latest:docker://gitea/runner-images:ubuntu-latest"
networks:
- runner_net
volumes:
- runner-data:/data
- /var/run/docker.sock:/var/run/docker.sock