Add gitea_runner
This commit is contained in:
16
gitea-runner/docker-compose.yml
Normal file
16
gitea-runner/docker-compose.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
services:
|
||||
gitea_runner:
|
||||
image: docker.io/gitea/act_runner:nightly
|
||||
container_name: gitea_runner
|
||||
environment:
|
||||
CONFIG_FILE: /config.yaml
|
||||
GITEA_INSTANCE_URL: "${INSTANCE_URL}"
|
||||
GITEA_RUNNER_REGISTRATION_TOKEN: "${REGISTRATION_TOKEN}"
|
||||
GITEA_RUNNER_NAME: "${RUNNER_NAME}"
|
||||
volumes:
|
||||
- ./config.yaml:/config.yaml
|
||||
- ./data:/data
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
ports:
|
||||
- 8010:8010 # Cache port (Any free port)
|
||||
restart: unless-stopped
|
Reference in New Issue
Block a user