-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrunnerd.yaml.example
More file actions
54 lines (48 loc) · 1.7 KB
/
runnerd.yaml.example
File metadata and controls
54 lines (48 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
server:
http_addr: ":25500"
read_timeout_seconds: 15
write_timeout_seconds: 60
idle_timeout_seconds: 120
database:
backend: sqlite
# Relative sqlite paths are resolved from the directory containing runnerd.yaml.
url: ./var/runnerd.db
admin:
token: change-me
e2b:
api_key: your-e2b-api-key
api_url: https://api.e2b.dev
timeout_seconds: 3600
api_timeout_seconds: 60
create_timeout_seconds: 120
stop_timeout_seconds: 30
github:
webhook_secret: change-me
# GitHub.com only. GitHub Enterprise Server is not currently supported.
# Webhook requests use repository.full_name from GitHub and are admitted by runner_policies.
app:
id: 123456
# Optional. Leave empty to resolve the GitHub App installation dynamically per repository.
# installation_id: 12345678
# Relative paths are resolved from the directory containing runnerd.yaml.
private_key_file: ./secrets/github-app.pem
# Optional repository allowlist. Empty means all repositories that installed the App are allowed.
# allowed_repositories:
# - your-org/*
# - your-org/specific-repo
# Auth alternatives: configure exactly one of app, token, or basic_auth.
# token: ghp_your-token
# basic_auth:
# username: your-username
# password: your-token-or-password
worker:
max_concurrent_runners: 100
runner_idle_timeout_seconds: 300
recovery_timeout_seconds: 120
lease_ttl_seconds: 300
retry_base_delay_seconds: 15
retry_max_delay_seconds: 300
retry_max_attempts: 5
# Runner specs, runner groups, and runner policies are managed through the
# admin API/UI. Create specs with meaningful names, for example "ubuntu-24-04",
# and set template_id to the E2B template that contains the GitHub runner image.