Files
gitea-runner-generic/docker-compose.yml
2025-11-24 21:04:22 +01:00

19 lines
642 B
YAML

services:
# when you want to rebuild the runner (this creates a new runner) run:
# sudo docker compose up --build -d
gitea-runner-dotnet:
container_name: "gitea-runner-dotnet"
restart: unless-stopped
build:
context: .
volumes:
#- /var/run/docker.sock:/var/run/docker.sock
#- ./config:/config
- ./data:$HOME/.cache
- ./configs/NuGet:/root/.nuget/NuGet
environment:
GITEA_INSTANCE_URL: "https://gitea.sandev.io"
GITEA_RUNNER_REGISTRATION_TOKEN: ${GITEA_REG_TOKEN}
GITEA_RUNNER_NAME: "gitea-runner-generic"
GITEA_RUNNER_LABELS: "ubuntu-2204,generic,node-js,golang"