machine-config/animal/monitoring.nix

21 lines
383 B
Nix

{
services.grafana = {
enable = true;
settings = {
server = {
http_addr = "127.0.0.1";
http_port = 3000;
domain = "monitoring.animal.chandlerswift.com";
};
};
};
services.prometheus = {
enable = true;
};
services.caddy.virtualHosts."monitoring.animal.chandlerswift.com".extraConfig = ''
reverse_proxy :3000
'';
}