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:
S
2026-03-01 10:12:10 -05:00
parent 18b9264343
commit b32f5dc999

View File

@@ -20,7 +20,7 @@
# #
# data_path — Absolute path (/ or ~/) where act_runner stores its binary, # data_path — Absolute path (/ or ~/) where act_runner stores its binary,
# config, and job cache. NOT Gitea's data path. # 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). # labels — Workflow runs-on value (e.g. linux, macos, ubuntu-latest).
# Combined with default_image at deploy time to produce # Combined with default_image at deploy time to produce
@@ -37,7 +37,7 @@
# Repo name = fetch repo-level token from Gitea API. # Repo name = fetch repo-level token from Gitea API.
# #
# capacity — Positive integer (>= 1). Max concurrent jobs. # 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. # Constrained by host CPU/RAM. 0 and negative are invalid.
# #
# cpu — Docker CPU limit (e.g. 2.0, 0.5). Ignored for native. # cpu — Docker CPU limit (e.g. 2.0, 0.5). Ignored for native.