Add alertmanager config - part 2 #189

Merged
teutat3s merged 9 commits from alertmanager into main 2024-05-15 15:23:59 +00:00
Showing only changes of commit 11f5557a7a - Show all commits

View file

@ -12,6 +12,15 @@
owner = "prometheus"; owner = "prometheus";
}; };
services.caddy.virtualHosts."prometheus.${config.pub-solar-os.networking.domain}" = {
logFormat = lib.mkForce ''
output discard
'';
extraConfig = ''
reverse_proxy :${toString config.services.prometheus.alertmanager.port}
'';
};
services.prometheus = { services.prometheus = {
enable = true; enable = true;
port = 9001; port = 9001;