Files
gitea-act-runner/compose.yaml

30 lines
711 B
YAML

services:
runner:
image: docker.io/gitea/act_runner:nightly
container_name: gitea-action-runner
restart: unless-stopped
env_file:
- .env
environment:
CONFIG_FILE: /config/config.yaml
GITEA_INSTANCE_URL: "${GITEA_URL}"
GITEA_RUNNER_REGISTRATION_TOKEN: "${REGISTRATION_TOKEN}"
GITEA_RUNNER_NAME: "${GITEA_RUNNER_NAME}"
GITEA_RUNNER_LABELS: "${GITEA_RUNNER_LABELS}"
privileged: true
ports:
- 8088:8088
volumes:
- ./config:/config
- act_runner_data:/data
- /var/run/docker.sock:/var/run/docker.sock
security_opt:
- no-new-privileges:true
volumes:
act_runner_data: {}
networks:
backend:
external: true