A spare-machine Gitea forge, hardened, backed up and with CI, as a template. Personal values are placeholders listed in the README.
33 lines
1.0 KiB
YAML
33 lines
1.0 KiB
YAML
# act_runner config (OKF/guides/12). Sized for a small server: 3G RAM, spinning HDD.
|
|
# Full reference: `act_runner generate-config`.
|
|
log:
|
|
level: info
|
|
|
|
runner:
|
|
file: .runner
|
|
# One job at a time; Gitea, Caddy and an apex site already hold ~500M.
|
|
capacity: 1
|
|
timeout: 30m
|
|
# Back off to one poll per 30s when idle, sparing the SQLite DB on the HDD.
|
|
fetch_interval: 2s
|
|
fetch_interval_max: 30s
|
|
# Honest label: jobs run in Alpine with Node, not Ubuntu. A workflow copied
|
|
# from GitHub with `runs-on: ubuntu-latest` waits in the queue rather than
|
|
# failing in strange ways on a missing tool.
|
|
labels:
|
|
- "alpine:docker://node:24-alpine"
|
|
|
|
cache:
|
|
# No workflow uses actions/cache; skip running the cache server.
|
|
enabled: false
|
|
|
|
container:
|
|
network: ""
|
|
privileged: false
|
|
options: "--memory=768m --memory-swap=768m"
|
|
valid_volumes: []
|
|
# "-": find the Docker host but do NOT mount its socket into job
|
|
# containers. Jobs cannot start containers or reach the host's Docker.
|
|
docker_host: "-"
|
|
force_pull: true
|