feat: Umami/ntfy 可观测性栈与 WordPress AdSense 部署
This commit is contained in:
44
deploy/observability/README.md
Normal file
44
deploy/observability/README.md
Normal file
@@ -0,0 +1,44 @@
|
||||
# Nomadro observability (Umami analytics + ntfy notifications)
|
||||
|
||||
## DNS
|
||||
|
||||
- `umami.nomadro.com` → server
|
||||
- `ntfy.nomadro.com` → server
|
||||
|
||||
## URLs
|
||||
|
||||
- Analytics: https://umami.nomadro.com
|
||||
- Notifications: https://ntfy.nomadro.com
|
||||
|
||||
## Credentials (server only)
|
||||
|
||||
```bash
|
||||
cat /etc/nomadro/umami.env # admin login
|
||||
cat /etc/nomadro/ntfy.env # publish token + topic
|
||||
cat /etc/nomadro/umami-sites.env
|
||||
```
|
||||
|
||||
## Tracked sites
|
||||
|
||||
| Domain | Surface |
|
||||
| --- | --- |
|
||||
| nomadro.com | WordPress + Next (zh) |
|
||||
| portal.nomadro.com | registered in Umami |
|
||||
| dylive.nomadro.com | DouyinWEB |
|
||||
| nomadro.live | TikTok Promo |
|
||||
| wx.nomadro.com | HackRobot |
|
||||
| x.nomadro.com | XAuto |
|
||||
|
||||
## Notifications
|
||||
|
||||
```bash
|
||||
notify-ntfy "Title" "message" high "rotating_light" server-alerts
|
||||
```
|
||||
|
||||
Health checks run every 5 minutes via `/etc/cron.d/nomadro-health` and push to topic `server-alerts`.
|
||||
|
||||
## Redeploy
|
||||
|
||||
```bash
|
||||
python deploy/observability/finish_deploy.py
|
||||
```
|
||||
Reference in New Issue
Block a user