15 lines
517 B
YAML
15 lines
517 B
YAML
services:
|
|
gitea_runner:
|
|
container_name: gitea_runner
|
|
image: docker.io/gitea/act_runner:0.3.0@sha256:8368754bb612a1deb07ed604e3b955338aefc01576d4d0d92e8dd82f29250fcd
|
|
restart: unless-stopped
|
|
environment:
|
|
CONFIG_FILE: /config.yml
|
|
GITEA_INSTANCE_URL: "${INSTANCE_URL}"
|
|
GITEA_RUNNER_REGISTRATION_TOKEN: "${REGISTRATION_TOKEN}"
|
|
GITEA_RUNNER_NAME: "${RUNNER_NAME}"
|
|
volumes:
|
|
- ./config.yml:/config.yml
|
|
- ./data:/data
|
|
- /var/run/docker.sock:/var/run/docker.sock
|