2024-12-12 14:41:43 +01:00
|
|
|
# SPDX-FileCopyrightText: 2024 Tom Hubrecht <tom.hubrecht@dgnum.eu>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: EUPL-1.2
|
|
|
|
|
2024-10-21 11:19:40 +02:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|