first commit

This commit is contained in:
2025-11-24 20:58:24 +01:00
commit f4521782be
4 changed files with 53 additions and 0 deletions

19
docker-compose.yml Normal file
View File

@@ -0,0 +1,19 @@
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: "http://gitea.int.boger.local"
GITEA_RUNNER_REGISTRATION_TOKEN: ${GITEA_REG_TOKEN}
GITEA_RUNNER_NAME: "gitea-runner-dotnet"
GITEA_RUNNER_LABELS: "dotnet-10,ubuntu2204"