[Unit] Description=Fleet alert bridge — Beszel + Uptime Kuma alerts into the althing infra-ops inbox After=network-online.target Wants=network-online.target [Service] User=lkraven Group=lkraven Environment=PYTHONUNBUFFERED=1 Environment=ALTHING_HANDLE=infra-ops Environment=ALTHING_POST_OFFICE=http://10.100.50.40:8390 Environment=POSTBOX=/home/lkraven/.local/bin/postbox Environment=ALERT_RECIPIENT=infra-ops Environment=ALERT_BIND_HOST=10.100.10.50 # 10.250.50.70 is ana-docker, which now runs BOTH the Beszel hub and Uptime # Kuma, so one entry covers both senders. 10.100.10.50/127.0.0.1 are local # diagnostics from nh3-dev itself. Environment=ALERT_ALLOWED_SOURCES=10.250.50.70,10.100.10.50,127.0.0.1 ExecStart=/usr/bin/python3 /opt/althing-alert-bridge/bridge.py Restart=on-failure RestartSec=5 NoNewPrivileges=true ProtectSystem=strict PrivateTmp=true [Install] WantedBy=multi-user.target