17 lines
552 B
YAML
17 lines
552 B
YAML
services:
|
|
gitea_runner:
|
|
container_name: gitea_runner
|
|
image: docker.io/gitea/act_runner:0.4.1@sha256:696a59b51ad3d149521e3beb0229d5fb88f87295e1616f940199793274415b56
|
|
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
|
|
ports:
|
|
- ${PORT}:${PORT}
|