fg
This commit is contained in:
parent
3de67921d7
commit
c118213b6b
1 changed files with 33 additions and 0 deletions
33
runner.yaml
Normal file
33
runner.yaml
Normal 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue