Change to dind gitea runner
This commit is contained in:
parent
9db6513f75
commit
e2e226cb13
1 changed files with 3 additions and 2 deletions
|
@ -41,14 +41,15 @@ services:
|
||||||
mode: non-blocking
|
mode: non-blocking
|
||||||
|
|
||||||
runner:
|
runner:
|
||||||
image: gitea/act_runner
|
image: gitea/act_runner:latest-dind-rootless
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
privileged: true
|
||||||
depends_on:
|
depends_on:
|
||||||
- gitea
|
- gitea
|
||||||
volumes:
|
volumes:
|
||||||
- {{ server.work_dir }}/gitea/runner/:/data
|
- {{ server.work_dir }}/gitea/runner/:/data
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
|
||||||
environment:
|
environment:
|
||||||
|
- DOCKER_HOST=unix:///var/run/user/1000/docker.sock
|
||||||
- GITEA_INSTANCE_URL=https://gitea.{{ server.domain }}
|
- GITEA_INSTANCE_URL=https://gitea.{{ server.domain }}
|
||||||
- GITEA_RUNNER_REGISTRATION_TOKEN={{ gitea.runner_registration_token }}
|
- GITEA_RUNNER_REGISTRATION_TOKEN={{ gitea.runner_registration_token }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue