ddd
This commit is contained in:
parent
0b277bf56a
commit
83a6a639a9
2 changed files with 22 additions and 0 deletions
7
docker-compose/act-runner/config.yml.j2
Normal file
7
docker-compose/act-runner/config.yml.j2
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
container:
|
||||
valid_volumes: []
|
||||
log:
|
||||
level: info
|
||||
runner:
|
||||
capacity: 1
|
|
@ -8,11 +8,26 @@ services:
|
|||
restart: always
|
||||
volumes:
|
||||
- act_runner_data:/data
|
||||
- ./config.yml:/config.yml
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
GITEA_INSTANCE_URL: https://git.mgrote.net
|
||||
GITEA_RUNNER_REGISTRATION_TOKEN: "{{ lookup('viczem.keepass.keepass', 'gitea_act_runner_token', 'password') }}" # only used on first start, https://git.mgrote.net/admin/actions/runners
|
||||
GITEA_RUNNER_NAME: "docker10-act-runner"
|
||||
CONFIG_FILE: /config.yml
|
||||
|
||||
volumes:
|
||||
act_runner_data:
|
||||
|
||||
|
||||
|
||||
# Volumes (including bind mounts) can be mounted to containers. Glob syntax is supported, see https://github.com/gobwas/glob
|
||||
# You can specify multiple volumes. If the sequence is empty, no volumes can be mounted.
|
||||
# For example, if you only allow containers to mount the `data` volume and all the json files in `/src`, you should change the config to:
|
||||
# valid_volumes:
|
||||
# - data
|
||||
# - /src/*.json
|
||||
# If you want to allow any volume, please use the following configuration:
|
||||
# valid_volumes:
|
||||
# - '**'
|
||||
valid_volumes: []
|
||||
|
|
Loading…
Reference in a new issue