Skip to main content

max / makenotwork

3.1 KB · 163 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 [instance]
11 name = "astra"
12
13 [targets.mnw]
14 label = "Makenotwork Production"
15 expected_routes = ["/", "/discover", "/login", "/docs"]
16
17 [[targets.mnw.dns]]
18 name = "makenot.work"
19 record_type = "A"
20 expected = []
21
22 [[targets.mnw.dns]]
23 name = "forums.makenot.work"
24 record_type = "A"
25 expected = []
26
27 [[targets.mnw.dns]]
28 name = "git.makenot.work"
29 record_type = "A"
30 expected = []
31
32 [targets.mnw.whois]
33 domain = "makenot.work"
34 warn_days = 30
35
36 [targets.mnw.health]
37 url = "https://makenot.work/api/health"
38 timeout_secs = 10
39
40 [targets.mnw.health.expect]
41 status_code = 200
42 json_fields = { "status" = "operational" }
43
44 [targets.mnw.health.trending]
45 baseline_window_hours = 168
46 spike_threshold = 2.0
47
48 [targets.mnw.tls]
49 host = "makenot.work"
50
51 [targets.mnw.tests]
52 ssh = "max@100.106.221.39"
53 command = "/home/max/staging/run-ci.sh"
54 timeout_secs = 600
55 staleness_days = 7
56
57 [targets.mt]
58 label = "Multithreaded Forum"
59 expected_routes = ["/"]
60
61 [targets.mt.health]
62 url = "https://forums.makenot.work/api/health"
63 timeout_secs = 10
64
65 [targets.mt.health.expect]
66 status_code = 200
67 json_fields = { "status" = "operational" }
68
69 [targets.mt.tls]
70 host = "forums.makenot.work"
71
72 [targets.mt.tests]
73 ssh = "max@100.106.221.39"
74 command = "cd /home/max/staging/multithreaded && cargo test --workspace 2>&1"
75 timeout_secs = 300
76 staleness_days = 7
77
78 [targets.mnw-cli]
79 label = "MNW CLI SSH Server"
80
81 [[targets.mnw-cli.dns]]
82 name = "cli.makenot.work"
83 record_type = "A"
84 expected = []
85
86 [targets.mnw-cli.ssh_banner]
87 host = "5.78.144.244"
88 port = 22
89 timeout_secs = 5
90
91 [targets.htpy]
92 label = "htpy.app"
93
94 [[targets.htpy.dns]]
95 name = "htpy.app"
96 record_type = "A"
97 expected = []
98
99 [targets.htpy.whois]
100 domain = "htpy.app"
101 warn_days = 30
102
103 [targets.htpy.health]
104 url = "http://100.99.153.68:8080/archive/S_2"
105 timeout_secs = 10
106
107 [targets.htpy.health.expect]
108 status_code = 200
109 body_contains = "htpy"
110
111 [targets.htpy.tls]
112 host = "htpy.app"
113
114 [targets.go]
115 label = "GoingsOn"
116
117 [targets.go.tests]
118 ssh = "max@100.106.221.39"
119 command = "cd /home/max/staging/goingson && cargo test --workspace 2>&1"
120 timeout_secs = 600
121 staleness_days = 7
122
123 [targets.bb]
124 label = "Balanced Breakfast"
125
126 [targets.bb.tests]
127 ssh = "max@100.106.221.39"
128 command = "cd /home/max/staging/balanced_breakfast && cargo test --workspace 2>&1"
129 timeout_secs = 600
130 staleness_days = 7
131
132 [targets.af]
133 label = "AudioFiles"
134
135 [targets.af.tests]
136 ssh = "max@100.106.221.39"
137 command = "cd /home/max/staging/audiofiles && cargo test --workspace 2>&1"
138 timeout_secs = 600
139 staleness_days = 7
140
141 [targets.sk]
142 label = "SyncKit SDK"
143
144 [targets.sk.tests]
145 ssh = "max@100.106.221.39"
146 command = "cd /home/max/staging/synckit-client && cargo test 2>&1"
147 timeout_secs = 300
148 staleness_days = 7
149
150 [peers.hetzner]
151 address = "100.120.174.96:9100"
152 on_missing = "alert"
153 # token = "<hetzner's POM_API_TOKEN value>"
154
155 [peers.macbook]
156 address = "100.100.246.136:9100"
157 on_missing = "log"
158 # token = "<macbook's POM_API_TOKEN value>"
159
160 [alerts]
161 # postmark_token loaded from POM_POSTMARK_TOKEN env var
162 to = "pom-alerts@makenot.work"
163