docs: update runners.conf.example for renamed vars and smart defaults
- data_path default: RUNNER_DATA_BASE_PATH/name - capacity default: 2 (server), 1 (macOS) — no longer from .env Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
#
|
||||
# data_path — Absolute path (/ or ~/) where act_runner stores its binary,
|
||||
# config, and job cache. NOT Gitea's data path.
|
||||
# Default: RUNNER_DEFAULT_DATA_PATH (docker), LOCAL_RUNNER_DATA_PATH (native)
|
||||
# Default: RUNNER_DATA_BASE_PATH/name (docker), LOCAL_RUNNER_DATA_BASE_PATH/name (native)
|
||||
#
|
||||
# labels — Workflow runs-on value (e.g. linux, macos, ubuntu-latest).
|
||||
# Combined with default_image at deploy time to produce
|
||||
@@ -37,7 +37,7 @@
|
||||
# Repo name = fetch repo-level token from Gitea API.
|
||||
#
|
||||
# capacity — Positive integer (>= 1). Max concurrent jobs.
|
||||
# Default: RUNNER_DEFAULT_CAPACITY from .env.
|
||||
# Default: 2 (server hosts), 1 (macOS).
|
||||
# Constrained by host CPU/RAM. 0 and negative are invalid.
|
||||
#
|
||||
# cpu — Docker CPU limit (e.g. 2.0, 0.5). Ignored for native.
|
||||
|
||||
Reference in New Issue
Block a user