Repository navigation
Expand file tree
/
Copy pathconfig.example.json
More file actions
54 lines (54 loc) · 1.7 KB
/
Copy pathconfig.example.json
File metadata and controls
54 lines (54 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
{
"port": 9410,
"read_only": false,
"probe_ttl_seconds": 10,
"no_probe": false,
"print_ttl_seconds": 15,
"inventory": {
"show_noise_default": false,
"restart_warn_threshold": 50,
"include_homebrew_infra": true,
"homebrew_group": "Infra",
"groups": [
{"name": "Example App", "match": ["com.example.app.*"]},
{"name": "Infra", "match": ["com.example.infra.*", "com.ollama.*"]}
],
"ours": ["com.example.*"],
"hidden": [
"com.apple.*", "application.*", "com.google.*", "com.dropbox.*",
"com.spotify.*", "com.docker.*", "com.github.CopilotForCode.*",
"com.github.CopilotForXcode.*", "io.tailscale.*", "com.todesktop.*",
"com.microsoft.*", "com.openssh.*", "org.virtualbox.*",
"com.getdropbox.*", "ch.protonvpn.*"
],
"derive_roots": ["~/Projects", "~/src", "~/code", "~/Developer", "~/work"]
},
"alerts": {
"enabled": true,
"cooldown_seconds": 900,
"notify_on_recovery": true,
"run_storm_delta": 25,
"state_file": "",
"quiet_hours": {"start": "23:30", "end": "08:00", "timezone": "Etc/UTC"},
"telegram": {
"enabled": true,
"chat_id": "",
"keychain_service": "deployboard-telegram",
"keychain_account": "bot_token",
"timeout_seconds": 10
}
},
"desired": {
"jobs": [
{"match": "com.example.app.*", "status": "running", "max_restart_rate": 5},
{"match": "com.example.worker.*", "status": "disabled"}
],
"groups": [
{"name": "Example App", "status": "running", "probe_port": 8080}
]
},
"contracts": [
{"group": "Example App", "http": {"port": 8080, "path": "/health", "expect_status": 200}},
{"group": "Infra", "tcp": {"port": 5432}}
]
}