This commit is contained in:
18
docker-compose.yml
Normal file
18
docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user