Files
homelab/containers/monitoring.nix
T
Xavier Morel ab98aeb897
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 5s
feat: add groups to authentik apps + add mail base
2026-06-12 21:36:07 +02:00

39 lines
790 B
Nix

{ ... }:
let
db_pass = import ../config/_passwords.nix;
in
{
my-lxc.monitoring = {
container = {
enable = true;
cores = 2;
memory = 2048;
disk = "13824M";
swap = 1024;
};
system = {
port = 3000; # grafana
additionalPorts = [
3100 # loki
];
importConfig = [
../config/monitoring-grafana.nix
../config/monitoring-loki.nix
];
};
db = {
enable = true;
password = db_pass.monitoring;
};
logging = {
enable = true;
metricsEnable = true;
};
private = true;
auth = true;
group = "Système";
description = "Interface de monitoring via Grafana.";
icon = "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/grafana.png";
};
}