This commit is contained in:
traveler 2025-09-05 14:56:28 -05:00
parent 3de67921d7
commit c118213b6b

33
runner.yaml Normal file
View file

@ -0,0 +1,33 @@
version: "3.9"
services:
forgejo-runner:
image: code.forgejo.org/forgejo/runner:latest
container_name: forgejo-runner
networks:
- netgrimoire
restart: unless-stopped
user: "1001:998"
environment:
TZ: America/Chicago
RUNNER_NAME: docker2-runner
RUNNER_LABELS: swarm
FORGEJO_URL: https://git.netgrimoire.com
FORGEJO_TOKEN: QFDPcVXHYQrm8FJj9n4Olp9R5U3Q3GwM56VThGx8
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /export/DockerVol/runner:/data
command: >
forgejo-runner daemon --config /data/config.yml
deploy:
labels:
kuma.forgejo-runner.http.name: "Forgejo Runner"
kuma.forgejo-runner.http.url: "http://docker2:8080"
placement:
constraints:
- node.hostname == docker2
networks:
netgrimoire:
external: true