configuration.nix/hosts/rico0/services/apps/alertmanager.nix

19 lines
459 B
Nix
Raw Normal View History

2024-07-21 14:18:56 +05:30
_: {
services = {
caddy = {
virtualHosts."alertmanager.labs.adtya.xyz" = {
extraConfig = ''
reverse_proxy 127.0.0.1:3100
tls /persist/secrets/caddy/certs/default.crt /persist/secrets/caddy/certs/default.key
'';
};
};
prometheus.alertmanager = {
enable = true;
listenAddress = "127.0.0.1";
port = 9093;
webExternalUrl = "https://alertmanager.labs.adtya.xyz/";
};
};
}