action-runner/docker-compose.yml

23 lines
513 B
YAML

services:
runner:
image: gitea/act_runner
restart: always
environment:
CONFIG_FILE: /config.yaml
GITEA_INSTANCE_URL: "https://git.alice.ufsj.edu.br"
GITEA_RUNNER_REGISTRATION_TOKEN_FILE: /run/secrets/runner_token
GITEA_RUNNER_NAME: "Alice Runner"
secrets:
- runner_token
volumes:
- data:/data
- ./config.yaml:/config.yaml
- /var/run/docker.sock:/var/run/docker.sock
volumes:
data:
secrets:
runner_token:
file: ./secrets/runner_token