My iot/monitoring server stack.
might be of interest to you.
Alerting currently relies on grafana cloud, and there is not much else here than a caddy config and various experiments with deploying infludb in docker
see also https://github.com/koo5/demonitor for an attempt at self-sufficient alerting