gitea composer
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
gitea-act-runner:
|
||||
image: gitea/act_runner:latest
|
||||
container_name: gitea-act-runner-dlm
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
# Update this path to your TrueNAS dataset (or local runner data path)
|
||||
- /mnt/pool/gitea-runner:/data
|
||||
# Docker socket - required for runner to create job containers
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
# Update with your Gitea instance URL (accessible from this container)
|
||||
- GITEA_INSTANCE_URL=http://10.1.10.3:30008/
|
||||
# Get this from: Repository → Settings → Actions → Runners → New Runner
|
||||
- GITEA_RUNNER_REGISTRATION_TOKEN=<your-runner-token>
|
||||
# Name your runner (can be anything)
|
||||
- GITEA_RUNNER_NAME=dlm-runner
|
||||
# Labels: format is "label:docker-image"
|
||||
# These labels will be used in your workflow's runs-on field
|
||||
- GITEA_RUNNER_LABELS=ubuntu:docker://node:20-bullseye,linux:docker://node:20-bullseye
|
||||
networks:
|
||||
# Update to match your Gitea container's network
|
||||
- gitea-network
|
||||
|
||||
networks:
|
||||
gitea-network:
|
||||
external: true # Change to false if you want to create a new network
|
||||
# name: gitea # Uncomment and set if using external network
|
||||
Reference in New Issue
Block a user