New docker compose with the gitea runner
Some checks are pending
Actions demo / simple-echo (push) Waiting to run

This commit is contained in:
shockrah 2024-08-16 16:39:05 -07:00
parent 6cdac60353
commit 1299ed3b97

View File

@ -20,3 +20,21 @@ services:
ports: ports:
- "3000:3000" - "3000:3000"
- "2222:22" - "2222:22"
gitea-runner:
image: gitea/act_runner:nightly
container_name: gitea-runner
restart: always
networks:
- gitea
volumes:
- /opt/containers/gitea_runner/
- /var/run/docker.sock:/var/run/docker.sock
environment:
- GITEA_INSTANCE_URL=https://git.shockrah.xyz
- GITEA_RUNNER_NAME=gitea-main
- GITEA_RUNNER_LABELS=gitea-main
- GITEA_RUNNER_REGISTRATION_TOKEN=${token}