1
0
Fork 0
This commit is contained in:
Florian RICHER 2023-11-21 20:18:16 +01:00
parent e2e226cb13
commit 95c47fe58d

View file

@ -41,15 +41,14 @@ services:
mode: non-blocking mode: non-blocking
runner: runner:
image: gitea/act_runner:latest-dind-rootless image: gitea/act_runner
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 }}