47 lines
904 B
YAML
47 lines
904 B
YAML
# Example configuration file, it's safe to copy this as the default config file without any modification.
|
|
|
|
# You don't have to copy this file to your instance,
|
|
# just run `forgejo-runner generate-config > config.yaml` to generate a config file.
|
|
|
|
log:
|
|
level: info
|
|
job_level: info
|
|
|
|
runner:
|
|
file: .runner
|
|
capacity: 1
|
|
envs:
|
|
A_TEST_ENV_NAME_1: a_test_env_value_1
|
|
A_TEST_ENV_NAME_2: a_test_env_value_2
|
|
env_file: .env
|
|
timeout: 3h
|
|
shutdown_timeout: 3h
|
|
insecure: false
|
|
fetch_timeout: 5s
|
|
fetch_interval: 2s
|
|
report_interval: 1s
|
|
labels: []
|
|
|
|
cache:
|
|
enabled: true
|
|
port: 0
|
|
dir: ""
|
|
external_server: ""
|
|
secret: ""
|
|
host: ""
|
|
proxy_port: 0
|
|
actions_cache_url_override: ""
|
|
|
|
container:
|
|
network: ""
|
|
enable_ipv6: false
|
|
privileged: false
|
|
options:
|
|
workdir_parent:
|
|
valid_volumes: []
|
|
docker_host: "-"
|
|
force_pull: false
|
|
force_rebuild: false
|
|
|
|
host:
|
|
workdir_parent:
|