All checks were successful
Build all the nodes / Jaccess04 (push) Successful in 28s
Build all the nodes / netcore01 (push) Successful in 27s
Build all the nodes / netcore02 (push) Successful in 29s
Build all the nodes / Jaccess01 (push) Successful in 31s
Run pre-commit on all files / pre-commit (push) Successful in 36s
Build all the nodes / ap01 (push) Successful in 43s
Build all the nodes / bridge01 (push) Successful in 57s
Build all the nodes / geo01 (push) Successful in 56s
Build all the nodes / lab-router01 (push) Successful in 1m1s
Build all the nodes / hypervisor03 (push) Successful in 1m3s
Build all the nodes / geo02 (push) Successful in 1m5s
Build all the nodes / hypervisor01 (push) Successful in 1m4s
Build all the nodes / cof02 (push) Successful in 1m8s
Build all the nodes / hypervisor02 (push) Successful in 1m8s
Build all the nodes / build01 (push) Successful in 1m12s
Build all the nodes / iso (push) Successful in 1m11s
Build all the nodes / rescue01 (push) Successful in 1m23s
Build all the nodes / compute01 (push) Successful in 1m30s
Build all the nodes / tower01 (push) Successful in 1m7s
Build the shell / build-shell (push) Successful in 42s
Build all the nodes / web02 (push) Successful in 1m9s
Build all the nodes / vault01 (push) Successful in 1m13s
Build all the nodes / storage01 (push) Successful in 1m42s
Build all the nodes / web03 (push) Successful in 1m7s
Build all the nodes / zulip01 (push) Successful in 54s
Build all the nodes / krz01 (push) Successful in 1m51s
Build all the nodes / web01 (push) Successful in 1m22s
28 lines
562 B
Nix
28 lines
562 B
Nix
# SPDX-FileCopyrightText: 2024 Tom Hubrecht <tom.hubrecht@dgnum.eu>
|
|
#
|
|
# SPDX-License-Identifier: EUPL-1.2
|
|
|
|
{ meta, name, ... }:
|
|
|
|
let
|
|
port = 9428;
|
|
in
|
|
|
|
{
|
|
services.victorialogs = {
|
|
enable = true;
|
|
|
|
flags = {
|
|
retentionPeriod = "4w";
|
|
httpListenAddr = "${meta.network.${name}.netbirdIp}:${builtins.toString port}";
|
|
maxConcurrentInserts = "200";
|
|
};
|
|
};
|
|
|
|
fileSystems."/var/lib/victorialogs" = {
|
|
device = "/data/fast/victorialogs";
|
|
options = [ "bind" ];
|
|
};
|
|
|
|
networking.firewall.interfaces.wt0.allowedTCPPorts = [ port ];
|
|
}
|