Skip to main content

max / makenotwork

3.4 KB · 168 lines History Blame Raw
1 [serve]
2 interval_secs = 300
3 prune_days = 30
4 listen = "100.106.221.39:9100"
5 peer_heartbeat_secs = 60
6 route_check_interval_secs = 300
7 dashboard = true
8 # api_token loaded from POM_API_TOKEN env var
9
10 # The database is at a fixed absolute path, not wherever XDG_DATA_HOME happens
11 # to point. The unit sets XDG_DATA_HOME=/var/lib and an interactive shell does
12 # not, so before this was configured `pom serve` and a hand-run `pom test` on
13 # this host opened two different files and neither said so: the suites ran,
14 # passed, and reported into a database nothing served.
15 [storage]
16 db_path = "/var/lib/pom/pom.db"
17
18 [instance]
19 name = "astra"
20
21 [targets.mnw]
22 label = "Makenotwork Production"
23 expected_routes = ["/", "/discover", "/login", "/docs"]
24
25 [[targets.mnw.dns]]
26 name = "makenot.work"
27 record_type = "A"
28 expected = []
29
30 [[targets.mnw.dns]]
31 name = "forums.makenot.work"
32 record_type = "A"
33 expected = []
34
35 [[targets.mnw.dns]]
36 name = "git.makenot.work"
37 record_type = "A"
38 expected = []
39
40 [targets.mnw.whois]
41 domain = "makenot.work"
42 warn_days = 30
43
44 [targets.mnw.health]
45 url = "https://makenot.work/api/health"
46 timeout_secs = 10
47
48 [targets.mnw.health.expect]
49 status_code = 200
50 json_fields = { "status" = "operational" }
51
52 [targets.mnw.health.trending]
53 baseline_window_hours = 168
54 spike_threshold = 2.0
55
56 [targets.mnw.tls]
57 host = "makenot.work"
58
59 [targets.mnw.tests]
60 command = "/var/lib/pom/staging/run-ci.sh mnw"
61 timeout_secs = 5400
62 staleness_days = 7
63
64 [targets.mt]
65 label = "Multithreaded Forum"
66 expected_routes = ["/"]
67
68 [targets.mt.health]
69 url = "https://forums.makenot.work/api/health"
70 timeout_secs = 10
71
72 [targets.mt.health.expect]
73 status_code = 200
74 json_fields = { "status" = "operational" }
75
76 [targets.mt.tls]
77 host = "forums.makenot.work"
78
79 [targets.mt.tests]
80 command = "/var/lib/pom/staging/run-ci.sh mt"
81 timeout_secs = 2700
82 staleness_days = 7
83
84 [targets.mnw-cli]
85 label = "MNW CLI SSH Server"
86
87 [[targets.mnw-cli.dns]]
88 name = "cli.makenot.work"
89 record_type = "A"
90 expected = []
91
92 [targets.mnw-cli.ssh_banner]
93 host = "5.78.144.244"
94 port = 22
95 timeout_secs = 5
96
97 [targets.htpy]
98 label = "htpy.app"
99
100 [[targets.htpy.dns]]
101 name = "htpy.app"
102 record_type = "A"
103 expected = []
104
105 [targets.htpy.whois]
106 domain = "htpy.app"
107 warn_days = 30
108
109 [targets.htpy.health]
110 # See the same block in pom-hetzner.toml: htpy-web listens on 3200, not 8080, and
111 # /archive/<name> 308s to /viewer/<name>. The stale address is why this target
112 # has carried an open incident since 2026-03-29 while the site served fine.
113 url = "http://100.99.153.68:3200/viewer/S_2"
114 timeout_secs = 10
115
116 [targets.htpy.health.expect]
117 status_code = 200
118 body_contains = "htpy"
119
120 [targets.htpy.tls]
121 host = "htpy.app"
122
123 [targets.go]
124 label = "GoingsOn"
125
126 [targets.go.tests]
127 command = "/var/lib/pom/staging/run-ci.sh go"
128 timeout_secs = 2700
129 staleness_days = 7
130
131 [targets.bb]
132 label = "Balanced Breakfast"
133
134 [targets.bb.tests]
135 command = "/var/lib/pom/staging/run-ci.sh bb"
136 timeout_secs = 2700
137 staleness_days = 7
138
139 [targets.af]
140 label = "AudioFiles"
141
142 [targets.af.tests]
143 command = "/var/lib/pom/staging/run-ci.sh af"
144 timeout_secs = 2700
145 staleness_days = 7
146
147 [targets.sk]
148 label = "SyncKit SDK"
149
150 [targets.sk.tests]
151 command = "/var/lib/pom/staging/run-ci.sh sk"
152 timeout_secs = 1200
153 staleness_days = 7
154
155 [peers.hetzner]
156 address = "100.120.174.96:9100"
157 on_missing = "alert"
158 # token = "<hetzner's POM_API_TOKEN value>"
159
160 [peers.macbook]
161 address = "100.100.246.136:9100"
162 on_missing = "log"
163 # token = "<macbook's POM_API_TOKEN value>"
164
165 [alerts]
166 # postmark_token loaded from POM_POSTMARK_TOKEN env var
167 to = "pom-alerts@makenot.work"
168