Add Bitcoin Pulse operations runbook

This commit is contained in:
Tobias Ostner 2026-07-30 13:45:51 +07:00
parent 81fea16376
commit 1bdf25bf06
3 changed files with 271 additions and 16 deletions

View file

@ -38,9 +38,9 @@ generation and verify locally on Tobserver:
```console
systemctl is-active nginx.service bitcoin-pulse.service
nginx -t
ss -ltn '( sport = :3000 )'
curl --fail --silent http://127.0.0.1:3000/health | jq -e '.status == "OK"'
curl --fail --show-error --silent http://127.0.0.1:3000/health \
| jq -e '.status == "OK"'
```
The socket listing must show only `127.0.0.1:3000`, not `0.0.0.0:3000` or the
@ -49,11 +49,15 @@ endpoint, and each functional endpoint:
```console
dig +short A bitcoin-pulse.tobiasostner.de
curl --fail --silent https://bitcoin-pulse.tobiasostner.de/health \
curl --fail --show-error --silent \
https://bitcoin-pulse.tobiasostner.de/health \
| jq -e '.status == "OK"'
curl --fail --silent https://bitcoin-pulse.tobiasostner.de/block-height | jq
curl --fail --silent https://bitcoin-pulse.tobiasostner.de/difficulty-adjustment | jq
curl --fail --silent https://bitcoin-pulse.tobiasostner.de/price | jq
curl --fail --show-error --silent \
https://bitcoin-pulse.tobiasostner.de/block-height | jq -e .
curl --fail --show-error --silent \
https://bitcoin-pulse.tobiasostner.de/difficulty-adjustment | jq -e .
curl --fail --show-error --silent \
https://bitcoin-pulse.tobiasostner.de/price | jq -e .
```
The A lookup must return `162.55.103.218`. The HTTPS certificate must be valid