33bd9bf9e612a8134fbe8d4a4f84eaffa2a41c47
F2-5 - Matrix Integration: - Added comprehensive runbook for Synapse/Coturn administration - Added healthcheck script for Matrix API monitoring - Added pre-audit design for Matrix-TG Bridge (Task 6-1) - Deferred Bridge implementation to future sprint F3-1 - Alert Deduplication: - Implemented symptom-key based deduplication in Alert Queue Processor - Added Gitea issue checking: create new or add comment to existing - Grouped alerts by host (host_ip) to reduce spam - Added automated queue cleanup after processing - Integrated HTTP Telegram API (via VPS proxy) for reliability Known Issues: - Alert Queue Processor may send duplicate Telegram messages (2 instead of 1) when multiple hosts are affected. Documented in ops/KNOWN_ISSUES.md Fix planned in F3-3. Technical Details: - DB: buryan_monitoring (CT 151) - Gitea: http://192.168.1.140:3000/root/buryan-hub - Telegram: via https://193.233.210.184/tg-api/ proxy
🏠 Buryan Hub Infrastructure
Homelab с публичным edge через VPS и VPN-доступом через Headscale.
Архитектура
| Узел | Роль | IP |
|---|---|---|
| VPS | Nginx + SSL, Headscale coordinator, DERP | 193.233.210.184 |
| PVE | Proxmox, Tailscale subnet router | 192.168.1.10 |
| LAN | Сервисы (n8n, Gitea, Vault...) | 192.168.1.0/24 |
Публичные домены (SSL через certbot)
- n8n.buryans.ru → 192.168.1.108:5680 (CT 108)
- git.buryans.ru → 192.168.1.140:3000 (CT 140)
- status.buryans.ru → 192.168.1.107:3001 (CT 107)
- vault.buryans.ru → 192.168.1.109:8080 (CT 109)
- finance.buryans.ru → 192.168.1.110:8080 (CT 110)
- recipes.buryans.ru → 192.168.1.110:9925 (CT 110)
- music.buryans.ru → 192.168.1.125:4533 (CT 125)
- sync.buryans.ru → 192.168.1.139:8384 (CT 139)
- headscale.buryans.ru → 127.0.0.1:8443
VPP
- Server: https://headscale.buryans.ru
- Подключение: docs/vpn-clients.md
- Ключи: headscale preauthkeys create --user buryan-hub --reusable --expiration 30d
Структура репозитория
- vps/ — конфиги VPS (nginx, headscale, ufw)
- pve/ — конфиги PVE (iptables, sysctl)
- docs/ — документация (runbook, VPN, troubleshooting)
- deploy/ — disaster recovery скрипты
- docker/ — docker-compose для контейнеров
- knowledge/runbooks/ — runbook'и по сервисам
Быстрые команды
Проверка статуса
for d in n8n git status vault finance recipes music sync; do echo "$d $(curl -4 -s -o /dev/null -w '%{http_code}' --max-time 20 https://$d.buryans.ru/)" done
Disaster recovery
./deploy/install-on-new-vps.sh
Авто-синк
/root/sync-infra.sh (cron 04:00 ежедневно)
Контакты
Roman Buryan (maloyakapg@gmail.com)
Description
SSOT инфраструктуры: deploy, ops, политики агента
226 MiB
0 Stars
2 Watchers
0 Forks
Releases
1
Languages
Python
70.1%
Shell
22.7%
HTML
5.5%
JavaScript
1.4%
Ruby
0.2%