monitoring
This commit is contained in:
parent
72ad4f2c9c
commit
b4ac29c05d
1 changed files with 9 additions and 2 deletions
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue