forked from DGNum/infrastructure
17 lines
254 B
Nix
17 lines
254 B
Nix
|
let
|
||
|
host = "victoria-metrics.dgnum.eu";
|
||
|
port = 9099;
|
||
|
in
|
||
|
|
||
|
{
|
||
|
services.victoriametrics = {
|
||
|
enable = true;
|
||
|
|
||
|
listenAddress = "127.0.0.1:${builtins.toString port}";
|
||
|
};
|
||
|
|
||
|
dgn-web.simpleProxies.victoria-metrics = {
|
||
|
inherit host port;
|
||
|
};
|
||
|
}
|