Skip to main content

max / pom

2.2 KB · 119 lines History Blame Raw
1 [serve]
2 interval_secs = 300
3 prune_days = 30
4 listen = "0.0.0.0:9100"
5 peer_heartbeat_secs = 60
6 route_check_interval_secs = 300
7 dashboard = false
8 # api_token loaded from POM_API_TOKEN env var
9
10 [instance]
11 name = "hetzner"
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.cors]]
33 url = "https://fsn1.your-objectstorage.com/makenotwork-files/cors-probe"
34 origin = "https://makenot.work"
35 method = "PUT"
36
37 [targets.mnw.whois]
38 domain = "makenot.work"
39 warn_days = 30
40
41 [targets.mnw.health]
42 url = "https://makenot.work/api/health"
43 timeout_secs = 10
44
45 [targets.mnw.health.expect]
46 status_code = 200
47 json_fields = { "status" = "operational" }
48
49 [targets.mnw.health.trending]
50 baseline_window_hours = 168
51 spike_threshold = 2.0
52
53 [targets.mnw.tls]
54 host = "makenot.work"
55
56 [targets.mnw.tests]
57 ssh = "max@100.106.221.39"
58 command = "/home/max/staging/run-ci.sh"
59 timeout_secs = 600
60 staleness_days = 7
61
62 [targets.mt]
63 label = "Multithreaded Forum"
64 expected_routes = ["/"]
65
66 [targets.mt.health]
67 url = "http://127.0.0.1:3400/api/health"
68 timeout_secs = 5
69
70 [targets.mt.health.expect]
71 status_code = 200
72 json_fields = { "status" = "operational" }
73
74 [targets.mt.tls]
75 host = "forums.makenot.work"
76
77 [targets.mt.tests]
78 ssh = "max@100.106.221.39"
79 command = "cd /home/max/staging/multithreaded && cargo test --workspace 2>&1"
80 timeout_secs = 300
81 staleness_days = 7
82
83 [targets.htpy]
84 label = "htpy.app"
85
86 [[targets.htpy.dns]]
87 name = "htpy.app"
88 record_type = "A"
89 expected = []
90
91 [targets.htpy.whois]
92 domain = "htpy.app"
93 warn_days = 30
94
95 [targets.htpy.health]
96 url = "http://100.99.153.68:8080/archive/S_2"
97 timeout_secs = 10
98
99 [targets.htpy.health.expect]
100 status_code = 200
101 body_contains = "htpy"
102
103 [targets.htpy.tls]
104 host = "htpy.app"
105
106 [peers.astra]
107 address = "100.106.221.39:9100"
108 on_missing = "alert"
109 # token = "<astra's POM_API_TOKEN value>"
110
111 [peers.macbook]
112 address = "100.100.246.136:9100"
113 on_missing = "log"
114 # token = "<macbook's POM_API_TOKEN value>"
115
116 [alerts]
117 # postmark_token loaded from POM_POSTMARK_TOKEN env var
118 to = "pom-alerts@makenot.work"
119