24 lines
888 B
YAML
24 lines
888 B
YAML
version: "3"
|
|
services:
|
|
runner:
|
|
image: git.limbosolutions.com/kb/gitea/act-runner_ansible:0.2.11
|
|
restart: always
|
|
volumes:
|
|
- gitlimbo_act_runner-data:/data
|
|
- gitlimbo_act_runner-config:/config
|
|
#- /var/run/docker.sock:/var/run/docker.sock
|
|
environment:
|
|
- GITEA_INSTANCE_URL=${GITEA_INSTANCE_URL}
|
|
# When using Docker Secrets, it's also possible to use
|
|
# GITEA_RUNNER_REGISTRATION_TOKEN_FILE to pass the location.
|
|
# The env var takes precedence.
|
|
# Needed only for the first start.
|
|
- CONFIG_FILE= /config/config.yaml
|
|
- GITEA_RUNNER_REGISTRATION_TOKEN=${GITEA_RUNNER_REGISTRATION_TOKEN}
|
|
- GITEA_RUNNER_NAME=vlan-casa_actrunner
|
|
#- GITEA_RUNNER_CONFIG_FILE="/config/config.yaml"
|
|
- GITEA_RUNNER_LABELS="vlan-casa_continous-deploy:host"
|
|
volumes:
|
|
gitlimbo_act_runner-data:
|
|
gitlimbo_act_runner-config:
|