alap debian runner
This commit is contained in:
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
data/
|
||||
.env
|
||||
26
docker-compose.yml
Normal file
26
docker-compose.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
services:
|
||||
gitea-runner-1:
|
||||
image: gitea/act_runner:latest
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
GITEA_INSTANCE_URL: https://git.petyi.eu
|
||||
GITEA_RUNNER_REGISTRATION_TOKEN: ${GITEA_TOKEN}
|
||||
GITEA_RUNNER_NAME: runner-1
|
||||
GITEA_RUNNER_LABELS: "ubuntu-latest:docker://node:18-bullseye"
|
||||
DOCKER_HOST: "unix:///var/run/docker.sock"
|
||||
volumes:
|
||||
- ./data/runner1:/data1
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
gitea-runner-2:
|
||||
image: gitea/act_runner:latest
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
GITEA_INSTANCE_URL: https://git.petyi.eu
|
||||
GITEA_RUNNER_REGISTRATION_TOKEN: ${GITEA_TOKEN}
|
||||
GITEA_RUNNER_NAME: runner-2
|
||||
GITEA_RUNNER_LABELS: "ubuntu-latest:docker://node:18-bullseye"
|
||||
DOCKER_HOST: "unix:///var/run/docker.sock"
|
||||
volumes:
|
||||
- ./data/runner2:/data2
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
Reference in New Issue
Block a user