Add alertmanager config #169
|
@ -37,6 +37,14 @@
|
||||||
reverse_proxy :${toString config.services.loki.configuration.server.http_listen_port}
|
reverse_proxy :${toString config.services.loki.configuration.server.http_listen_port}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
"alerts.pub.solar" = {
|
||||||
|
logFormat = lib.mkForce ''
|
||||||
|
output discard
|
||||||
|
'';
|
||||||
|
extraConfig = ''
|
||||||
|
|||||||
|
reverse_proxy 10.7.6.2:${toString config.services.prometheus.alertmanager.port}
|
||||||
|
'';
|
||||||
|
};
|
||||||
"grafana.pub.solar" = {
|
"grafana.pub.solar" = {
|
||||||
logFormat = lib.mkForce ''
|
logFormat = lib.mkForce ''
|
||||||
output discard
|
output discard
|
||||||
|
|
Loading…
Reference in a new issue
Here we'd want to use the
bind
directive to only listen on the WireGuard IP, exposing alertmanager only internally.and then
To have valid Let's Encrypt certificates, we'd need to configure DNS challenge, but that could be a future task IMO.
Sure feel free to reuse as you wish. I might be able to join tomorrow if you are still hakking on it