44 lines
1.3 KiB
Nix
44 lines
1.3 KiB
Nix
{config, ...}: {
|
|
services.prometheus.exporters.exportarr-sonarr = {
|
|
enable = true;
|
|
url = "http://media.lab:8989";
|
|
port = 9707;
|
|
openFirewall = true;
|
|
apiKeyFile = config.sops.secrets.sonarr-api-key.path;
|
|
};
|
|
services.prometheus.exporters.exportarr-readarr = {
|
|
enable = true;
|
|
url = "http://media.lab:8787";
|
|
port = 9708;
|
|
openFirewall = true;
|
|
apiKeyFile = config.sops.secrets.readarr-api-key.path;
|
|
};
|
|
services.prometheus.exporters.exportarr-radarr = {
|
|
enable = true;
|
|
url = "http://media.lab:7878";
|
|
port = 9709;
|
|
openFirewall = true;
|
|
apiKeyFile = config.sops.secrets.radarr-api-key.path;
|
|
};
|
|
services.prometheus.exporters.exportarr-prowlarr = {
|
|
enable = true;
|
|
url = "http://media.lab:9696";
|
|
port = 9710;
|
|
openFirewall = true;
|
|
apiKeyFile = config.sops.secrets.prowlarr-api-key.path;
|
|
};
|
|
services.prometheus.exporters.exportarr-lidarr = {
|
|
enable = true;
|
|
url = "http://media.lab:8686";
|
|
port = 9711;
|
|
openFirewall = true;
|
|
apiKeyFile = config.sops.secrets.lidarr-api-key.path;
|
|
};
|
|
services.prometheus.exporters.exportarr-bazarr = {
|
|
enable = true;
|
|
url = "http://media.lab:6767";
|
|
port = 9712;
|
|
openFirewall = true;
|
|
apiKeyFile = config.sops.secrets.bazarr-api-key.path;
|
|
};
|
|
}
|