1
0
Fork 0

Change to dind gitea runner

This commit is contained in:
Florian RICHER 2023-11-21 20:05:17 +01:00
parent 9db6513f75
commit e2e226cb13

View file

@ -41,14 +41,15 @@ services:
mode: non-blocking
runner:
image: gitea/act_runner
image: gitea/act_runner:latest-dind-rootless
restart: unless-stopped
privileged: true
depends_on:
- gitea
volumes:
- {{ server.work_dir }}/gitea/runner/:/data
- /var/run/docker.sock:/var/run/docker.sock
environment:
- DOCKER_HOST=unix:///var/run/user/1000/docker.sock
- GITEA_INSTANCE_URL=https://gitea.{{ server.domain }}
- GITEA_RUNNER_REGISTRATION_TOKEN={{ gitea.runner_registration_token }}