monitoring

This commit is contained in:
41666 2024-02-10 19:19:14 -05:00
parent 72ad4f2c9c
commit b4ac29c05d

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: {
{ pkgs, config, ... }: {
imports = [
../../templates/proxmox-lxc.nix
../../server.nix
@ -10,10 +10,17 @@
nixpkgs.hostPlatform = "x86_64-linux";
networking.firewall.allowedTCPPorts = [
80
config.services.grafana.settings.server.http_port
];
services.grafana = {
enable = true;
settings = {
server = {
http_addr = "0.0.0.0";
http_port = 3000;
domain = "monitoring.hoki-porgy.ts.net";
};
};
};
}