add services
All checks were successful
deploy core services / deploy (push) Successful in 1s

This commit is contained in:
Elias Ahokas
2025-11-24 18:17:48 +02:00
commit c72697a3f7
6 changed files with 62 additions and 0 deletions

18
docker-compose.yml Normal file
View File

@@ -0,0 +1,18 @@
services:
gitea-runner:
build: .
restart: unless-stopped
user: "1000:1000"
group_add:
- "996"
environment:
- GITEA_INSTANCE_URL=https://git.sirian.me
- GITEA_RUNNER_REGISTRATION_TOKEN=${RUNNER_TOKEN}
- GITEA_RUNNER_LABELS=z420
- GITEA_RUNNER_NAME=z420-runner
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/lib/z420/gitea_runner:/data
- /var/lib/z420/gitea_runner/cache:/.cache
- /home/sirian/services:/home/sirian/services
- /home/sirian/.ssh:/home/sirian/.ssh:ro