add share and node exporter

This commit is contained in:
fuckwit 2025-03-25 17:59:38 +01:00
parent 4559269329
commit 0217fd1ad0

View File

@ -200,6 +200,15 @@ in {
# "force create mode" = "0666"; # "force create mode" = "0666";
# "force directory mode" = "0777"; # "force directory mode" = "0777";
}; };
all = {
path = "/tank";
browsable = "yes";
public = "yes";
"guest only" = "yes";
writable = "no";
# "force create mode" = "0666";
# "force directory mode" = "0777";
};
}; };
}; };
@ -239,6 +248,7 @@ in {
] ++ disks; ] ++ disks;
}; };
systemd.enable = true; systemd.enable = true;
node.enable = true;
}; };
telegraf = { telegraf = {
@ -251,6 +261,7 @@ in {
"http://127.0.0.1:${builtins.toString config.services.prometheus.exporters.zfs.port}" "http://127.0.0.1:${builtins.toString config.services.prometheus.exporters.zfs.port}"
"http://127.0.0.1:${builtins.toString config.services.prometheus.exporters.smartctl.port}" "http://127.0.0.1:${builtins.toString config.services.prometheus.exporters.smartctl.port}"
"http://127.0.0.1:${builtins.toString config.services.prometheus.exporters.systemd.port}" "http://127.0.0.1:${builtins.toString config.services.prometheus.exporters.systemd.port}"
"http://127.0.0.1:${builtins.toString config.services.prometheus.exporters.node.port}"
]; ];
}; };
}; };
@ -272,7 +283,7 @@ in {
virtualHosts = makeVirtualHosts [ virtualHosts = makeVirtualHosts [
{ {
subdomain = "jdownloader"; subdomain = "jdownloader";
port = 8000; port = 5800;
} }
{ {
subdomain = "jellyfin"; subdomain = "jellyfin";
@ -503,7 +514,8 @@ in {
jdownloader = { jdownloader = {
image = "docker.io/jlesage/jdownloader-2:latest"; image = "docker.io/jlesage/jdownloader-2:latest";
autoStart = true; autoStart = true;
ports = ["0.0.0.0:8000:5800"]; networks = ["container:gluetun"];
dependsOn = ["gluetun"];
volumes = [ volumes = [
"jdownloader_config:/config" "jdownloader_config:/config"
"/tank/dump:/output" "/tank/dump:/output"
@ -527,7 +539,10 @@ in {
NET_ADMIN = true; NET_ADMIN = true;
}; };
devices = ["/dev/net/tun"]; devices = ["/dev/net/tun"];
ports = ["127.0.0.1:8080:8080"]; ports = [
"127.0.0.1:8080:8080"
"127.0.0.1:5800:5800"
];
}; };
qbittorrent = { qbittorrent = {